ec2-ami-tools: Update to 1.6.0.0

This commit is contained in:
Eelco Dolstra
2012-07-25 23:18:39 -04:00
parent b0552eb9ca
commit 403e594207
4 changed files with 8 additions and 8 deletions
@@ -0,0 +1,31 @@
{ stdenv, fetchurl, unzip, makeWrapper, jre }:
stdenv.mkDerivation rec {
name = "ec2-api-tools-1.6.0.0";
src = fetchurl {
url = "http://nixos.org/tarballs/${name}.zip";
sha256 = "1j9isvi6g68zhk7zxs29yad2d0rpnbqx8fz25yn5paqx9c8pzqcl";
};
buildInputs = [ unzip makeWrapper ];
installPhase =
''
mkdir -p $out
mv * $out
rm $out/bin/*.cmd # Windows stuff
for i in $out/bin/*; do
wrapProgram $i \
--set EC2_HOME $out \
--set JAVA_HOME ${jre}
done
''; # */
meta = {
homepage = http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351;
description = "Command-line tools to create and manage Amazon EC2 virtual machines";
license = "unfree-redistributable";
};
}