2016-03-25 05:07:19 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pythonPackages }:
|
2011-08-13 12:49:23 +01:00
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2016-03-25 05:07:19 +00:00
|
|
|
name = "s3cmd-${version}";
|
|
|
|
version = "1.6.1";
|
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}";
|
|
|
|
sha256 = "0aan6v1qj0pdkddhhkbaky44d54irm1pa8mkn52i2j86nb2rkcf9";
|
2011-08-13 12:49:23 +01:00
|
|
|
};
|
|
|
|
|
2015-04-02 17:56:06 +01:00
|
|
|
propagatedBuildInputs = with pythonPackages; [ python_magic dateutil ];
|
2011-08-13 12:49:23 +01:00
|
|
|
|
2015-04-02 17:56:06 +01:00
|
|
|
meta = with stdenv.lib; {
|
2011-08-13 12:49:23 +01:00
|
|
|
homepage = http://s3tools.org/;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|