uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
35
pkgs/tools/virtualization/ec2-api-tools/default.nix
Normal file
35
pkgs/tools/virtualization/ec2-api-tools/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchurl, unzip, makeWrapper, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ec2-api-tools";
|
||||
version = "1.7.5.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://tarballs.nixos.org/ec2-api-tools-${version}.zip";
|
||||
sha256 = "0figmvcm82ghmpz3018ihysz8zpxpysgbpdx7rmciq9y80qbw6l5";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper unzip ];
|
||||
|
||||
installPhase =
|
||||
''
|
||||
d=$out/libexec/ec2-api-tools
|
||||
mkdir -p $d
|
||||
mv * $d
|
||||
rm $d/bin/*.cmd # Windows stuff
|
||||
|
||||
for i in $d/bin/*; do
|
||||
b=$(basename $i)
|
||||
if [ $b = "ec2-cmd" ]; then continue; fi
|
||||
makeWrapper $i $out/bin/$(basename $i) \
|
||||
--set EC2_HOME $d \
|
||||
--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 = lib.licenses.amazonsl;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue