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 }:
stdenv.mkDerivation rec {
pname = "redo";
version = "1.4";
src = fetchurl {
url = "https://jdebp.eu./Repository/freebsd/${pname}-${version}.tar.gz";
sha256 = "1c8gr5h77v4fw78zkhbm9z9adqs3kd7xvxwnmci2zvlf4bqqk4jv";
};
nativeBuildInputs = [ perl /* for pod2man */ ];
sourceRoot = ".";
buildPhase = ''
./package/compile
'';
installPhase = ''
./package/export $out/
'';
meta = {
homepage = "https://jdebp.eu./Softwares/redo/";
description = "A system for building target files from source files";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vrthra ];
platforms = lib.platforms.unix;
};
}