nixpkgs/pkgs/tools/networking/s3cmd/default.nix

24 lines
643 B
Nix
Raw Normal View History

2016-11-09 10:56:02 +00:00
{ stdenv, fetchFromGitHub, python2Packages }:
2016-11-09 10:56:02 +00:00
python2Packages.buildPythonApplication rec {
2016-03-25 05:07:19 +00:00
name = "s3cmd-${version}";
version = "2.0.1";
2016-03-25 05:07:19 +00:00
src = fetchFromGitHub {
owner = "s3tools";
repo = "s3cmd";
rev = "v${version}";
sha256 = "198hzzplci57sb8hdan30nbakslawmijfw0j71wjvq85n3xn6qsl";
};
2016-11-09 10:56:02 +00:00
propagatedBuildInputs = with python2Packages; [ python_magic dateutil ];
meta = with stdenv.lib; {
homepage = http://s3tools.org/;
description = "A command-line tool to manipulate Amazon S3 buckets";
license = licenses.gpl2;
maintainers = [ maintainers.spwhitt ];
platforms = platforms.all;
};
}