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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, stdenv, fetchurl, perl, curl }:
stdenv.mkDerivation {
pname = "aws";
version = "2019.06.18";
src = fetchurl {
url = "https://raw.github.com/timkay/aws/ac68eb5191c52f069b9aa0c9a99808f8a4430833/aws";
sha256 = "02bym9wicqpdr7mdim13zw5ssh97xfswzab9q29rsbg7058ddbil";
};
buildInputs = [ perl ];
dontUnpack = true;
installPhase =
''
mkdir -p $out/bin
sed 's|\[curl|[${curl.bin}/bin/curl|g' $src > $out/bin/aws
chmod +x $out/bin/aws
'';
meta = {
homepage = "https://www.timkay.com/aws/";
description = "Command-line utility for working with Amazon EC2, S3, SQS, ELB, IAM and SDB";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.unix;
};
}