nixpkgs/pkgs/tools/networking/s3cmd/default.nix
Eelco Dolstra a97b8b191c * Added s3cmd.
svn path=/nixpkgs/trunk/; revision=28530
2011-08-13 11:49:23 +00:00

26 lines
584 B
Nix

{ stdenv, fetchurl, pythonPackages }:
stdenv.mkDerivation rec {
name = "s3cmd-1.0.1";
src = fetchurl {
url = "mirror://sourceforge/s3tools/${name}.tar.gz";
sha256 = "1kmxhilwix5plv3qb49as6jknll3pq5abw948h28jisskkm2cs6p";
};
buildInputs = [ pythonPackages.python pythonPackages.wrapPython ];
pythonPath = [ pythonPackages.ssl ];
installPhase =
''
python setup.py install --prefix=$out
wrapPythonPrograms
'';
meta = {
homepage = http://s3tools.org/;
description = "A command-line tool to manipulate Amazon S3 buckets";
};
}