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