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