diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2009-10-27 12:48:26 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2009-10-27 12:48:26 +0000 |
commit | 93ab1e07245fe931779e413154c9036a50ec9352 (patch) | |
tree | 38844e88c87c634d74d5b918d1dd94560e8e1f06 | |
parent | b91ebb6f406a9e0af466be144cc78089e91ccff8 (diff) |
amazon ec2 api tools
svn path=/nixpkgs/trunk/; revision=17974
-rw-r--r-- | pkgs/tools/virtualization/amazon-ec2-api-tools/builder.sh | 7 | ||||
-rw-r--r-- | pkgs/tools/virtualization/amazon-ec2-api-tools/default.nix | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/tools/virtualization/amazon-ec2-api-tools/builder.sh b/pkgs/tools/virtualization/amazon-ec2-api-tools/builder.sh new file mode 100644 index 0000000000000..1bea40a0456d5 --- /dev/null +++ b/pkgs/tools/virtualization/amazon-ec2-api-tools/builder.sh @@ -0,0 +1,7 @@ +source $stdenv/setup +ensureDir $out + +unzip $src +mv ec2-api-tools-*/* $out + +fixupPhase diff --git a/pkgs/tools/virtualization/amazon-ec2-api-tools/default.nix b/pkgs/tools/virtualization/amazon-ec2-api-tools/default.nix new file mode 100644 index 0000000000000..29a693a116a93 --- /dev/null +++ b/pkgs/tools/virtualization/amazon-ec2-api-tools/default.nix @@ -0,0 +1,12 @@ +{stdenv, fetchurl, unzip}: + +stdenv.mkDerivation { + name = "ec2-api-tools"; + buildInputs = [unzip]; + src = fetchurl { + url = http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip; + sha256 = "1d5j3hsa9vswrhan5yf2v6sq3plpfl4lgdvk3wlaw14rdv50cdiv"; + }; + + builder = ./builder.sh ; +} |