2016-11-09 10:56:02 +00:00
|
|
|
{ stdenv, fetchFromGitHub, python2Packages }:
|
2011-08-13 12:49:23 +01:00
|
|
|
|
2016-11-09 10:56:02 +00:00
|
|
|
python2Packages.buildPythonApplication rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "s3cmd";
|
2020-04-09 09:03:25 +01:00
|
|
|
version = "2.1.0";
|
2011-08-13 12:49:23 +01:00
|
|
|
|
2016-03-25 05:07:19 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "s3tools";
|
|
|
|
repo = "s3cmd";
|
|
|
|
rev = "v${version}";
|
2020-04-09 09:03:25 +01:00
|
|
|
sha256 = "0p6mbgai7f0c12pkw4s7d649gj1f8hywj60pscxvj9jsna3iifhs";
|
2011-08-13 12:49:23 +01:00
|
|
|
};
|
|
|
|
|
2016-11-09 10:56:02 +00:00
|
|
|
propagatedBuildInputs = with python2Packages; [ python_magic dateutil ];
|
2011-08-13 12:49:23 +01:00
|
|
|
|
2015-04-02 17:56:06 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-09 09:03:25 +01:00
|
|
|
homepage = "http://s3tools.org/";
|
2011-08-13 12:49:23 +01:00
|
|
|
description = "A command-line tool to manipulate Amazon S3 buckets";
|
2015-04-02 17:56:06 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.spwhitt ];
|
|
|
|
platforms = platforms.all;
|
2011-08-13 12:49:23 +01:00
|
|
|
};
|
|
|
|
}
|