2016-11-09 11:56:02 +01:00
|
|
|
{ stdenv, fetchFromGitHub, python2Packages }:
|
2011-08-13 13:49:23 +02:00
|
|
|
|
2016-11-09 11:56:02 +01:00
|
|
|
python2Packages.buildPythonApplication rec {
|
2019-08-31 13:41:23 +02:00
|
|
|
pname = "s3cmd";
|
2018-07-18 16:46:21 +02:00
|
|
|
version = "2.0.2";
|
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}";
|
2018-07-18 16:46:21 +02:00
|
|
|
sha256 = "0ninw830309cxga99gjnfghpkywf9kd6yz4wqsq85zni1dv39cdk";
|
2011-08-13 13:49:23 +02:00
|
|
|
};
|
|
|
|
|
2016-11-09 11:56:02 +01:00
|
|
|
propagatedBuildInputs = with python2Packages; [ 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
|
|
|
};
|
|
|
|
}
|