diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-03-09 15:12:15 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-03-09 15:12:15 +0000 |
commit | c7b9e45e761eb33b3882ea4a1ec190277af2f87f (patch) | |
tree | 376c636451b080d98496d8f0ace420cc1c830a5b /pkgs/tools/networking/s3sync | |
parent | 570759c288f16e28a6a12f5b54514d5e29dd7e0b (diff) | |
download | nixlib-c7b9e45e761eb33b3882ea4a1ec190277af2f87f.tar nixlib-c7b9e45e761eb33b3882ea4a1ec190277af2f87f.tar.gz nixlib-c7b9e45e761eb33b3882ea4a1ec190277af2f87f.tar.bz2 nixlib-c7b9e45e761eb33b3882ea4a1ec190277af2f87f.tar.lz nixlib-c7b9e45e761eb33b3882ea4a1ec190277af2f87f.tar.xz nixlib-c7b9e45e761eb33b3882ea4a1ec190277af2f87f.tar.zst nixlib-c7b9e45e761eb33b3882ea4a1ec190277af2f87f.zip |
* Added s3sync.
svn path=/nixpkgs/trunk/; revision=20496
Diffstat (limited to 'pkgs/tools/networking/s3sync')
-rw-r--r-- | pkgs/tools/networking/s3sync/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/networking/s3sync/default.nix b/pkgs/tools/networking/s3sync/default.nix new file mode 100644 index 000000000000..8ed71c345234 --- /dev/null +++ b/pkgs/tools/networking/s3sync/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, ruby, makeWrapper }: + +stdenv.mkDerivation { + name = "s3sync-1.2.6"; + + src = fetchurl { + url = http://s3.amazonaws.com/ServEdge_pub/s3sync/s3sync.tar.gz; # !!! + sha256 = "19467mgym0da0hifhkcbivccdima7gkaw3k8q760ilfbwgwxcn7f"; + }; + + buildInputs = [ makeWrapper ]; + + installPhase = + '' + ensureDir $out/libexec/s3sync + cp *.rb $out/libexec/s3sync + makeWrapper "${ruby}/bin/ruby $out/libexec/s3sync/s3cmd.rb" $out/bin/s3cmd + makeWrapper "${ruby}/bin/ruby $out/libexec/s3sync/s3sync.rb" $out/bin/s3sync + + ensureDir $out/share/doc/s3sync + cp README* $out/share/doc/s3sync/ + ''; # */ + + meta = { + homepage = http://s3sync.net/; + description = "Command-line tools to manipulate Amazon S3 buckets"; + license = "free-non-copyleft"; + }; +} |