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,28 @@
{ lib, stdenv, fetchFromGitHub, which }:
stdenv.mkDerivation rec {
pname = "l-smash";
version = "2.14.5";
src = fetchFromGitHub {
owner = "l-smash";
repo = pname;
rev = "v${version}";
sha256 = "0rcq9727im6kd8da8b7kzzbzxdldvmh5nsljj9pvr4m3lj484b02";
};
nativeBuildInputs = [ which ];
configureFlags = [
"--cc=cc"
"--cross-prefix=${stdenv.cc.targetPrefix}"
];
meta = with lib; {
homepage = "http://l-smash.github.io/l-smash/";
description = "MP4 container utilities";
license = licenses.isc;
maintainers = with maintainers; [ tadeokondrak ];
platforms = platforms.all;
};
}