Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
25 lines
666 B
Nix
25 lines
666 B
Nix
{ lib, buildPythonApplication, fetchFromGitHub, python-magic, python-dateutil }:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "s3cmd";
|
|
version = "2.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "s3tools";
|
|
repo = "s3cmd";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-cxwf6+9WFt3U7+JdKRgZxFElD+Dgf2P2VyejHVoiDJk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ python-magic python-dateutil ];
|
|
|
|
dontUseSetuptoolsCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://s3tools.org/s3cmd";
|
|
description = "Command line tool for managing Amazon S3 and CloudFront services";
|
|
mainProgram = "s3cmd";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ ];
|
|
};
|
|
}
|