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

24 lines
635 B
Nix
Raw Normal View History

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