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,33 @@
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "acr";
version = "2.0.0";
src = fetchFromGitHub {
owner = "radareorg";
repo = "acr";
rev = version;
hash = "sha256-ma4KhwGFlLCfRQvQ11OdyovgGbKQUBo6qVRrE7V2pNo=";
};
preConfigure = ''
chmod +x ./autogen.sh && ./autogen.sh
'';
meta = with lib; {
homepage = "https://github.com/radareorg/acr/";
description = "Pure shell autoconf replacement";
longDescription = ''
ACR tries to replace autoconf functionality generating a full-compatible
'configure' script (runtime flags). But using shell-script instead of
m4. This means that ACR is faster, smaller and easy to use.
'';
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; all;
};
}