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