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,23 @@
{lib, stdenv, fetchurl, libX11, libxcb, pkg-config, xcbutil}:
stdenv.mkDerivation rec {
pname = "libstartup-notification";
version = "0.12";
src = fetchurl {
url = "https://www.freedesktop.org/software/startup-notification/releases/startup-notification-${version}.tar.gz";
sha256 = "3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a";
};
configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.targetPlatform) [
"lf_cv_sane_realloc=yes"
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libX11 libxcb xcbutil ];
meta = {
homepage = "http://www.freedesktop.org/software/startup-notification";
description = "Application startup notification and feedback library";
license = lib.licenses.lgpl2;
};
}