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,25 @@
{ lib, stdenv, fetchurl, gtk2, pkg-config, libintl }:
stdenv.mkDerivation rec {
pname = "gtkperf";
version = "0.40.0";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}_${lib.versions.majorMinor version}.tar.gz";
sha256 = "0yxj3ap3yfi76vqg6xjvgc16nfi9arm9kp87s35ywf10fd73814p";
};
hardeningDisable = [ "format" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 libintl ];
# https://openbenchmarking.org/innhold/7e9780c11550d09aa67bdba71248facbe2d781db
patches = [ ./bench.patch ];
meta = with lib; {
description = "Application designed to test GTK performance";
homepage = "http://gtkperf.sourceforge.net/";
license = with licenses; [ gpl2 ];
maintainers = with maintainers; [ dtzWill ];
};
}