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