nixpkgs-suyu/pkgs/tools/networking/s3cmd/default.nix

25 lines
646 B
Nix
Raw Normal View History

{ lib, buildPythonApplication, fetchFromGitHub, python_magic, python-dateutil }:
2020-04-09 11:20:00 +02:00
buildPythonApplication rec {
2019-08-31 13:41:23 +02:00
pname = "s3cmd";
2020-04-09 10:03:25 +02:00
version = "2.1.0";
2020-04-09 11:20:00 +02:00
2016-03-25 06:07:19 +01:00
src = fetchFromGitHub {
2020-04-09 11:20:00 +02:00
owner = "s3tools";
repo = "s3cmd";
rev = "v${version}";
2020-04-09 10:03:25 +02:00
sha256 = "0p6mbgai7f0c12pkw4s7d649gj1f8hywj60pscxvj9jsna3iifhs";
};
propagatedBuildInputs = [ python_magic python-dateutil ];
2020-04-09 11:20:00 +02:00
dontUseSetuptoolsCheck = true;
meta = with lib; {
2020-04-09 11:20:00 +02:00
homepage = "https://s3tools.org/s3cmd";
description = "Command line tool for managing Amazon S3 and CloudFront services";
license = licenses.gpl2;
maintainers = [ maintainers.spwhitt ];
};
}