10 stdenv.mkDerivation rec {
11 pname = "ec2-api-tools";
15 url = "http://s3.amazonaws.com/ec2-downloads/${pname}-${version}.zip";
16 sha256 = "sha256-hRq+MEA+4chqPr3d9bS//X70tYcRBTD+rfAJVNmuLzo=";
25 d=$out/libexec/ec2-api-tools
28 rm $d/bin/*.cmd # Windows stuff
31 if [ $b = "ec2-cmd" ]; then continue; fi
32 makeWrapper $i $out/bin/$(basename $i) \
34 --set JAVA_HOME ${jre}
39 homepage = "http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351";
40 description = "Command-line tools to create and manage Amazon EC2 virtual machines";
41 license = lib.licenses.amazonsl;