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,27 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libdrm, libva }:
stdenv.mkDerivation rec {
pname = "cmrt";
version = "1.0.6";
src = fetchFromGitHub {
owner = "intel";
repo = "cmrt";
rev = version;
sha256 = "sha256-W6MQI41J9CKeM1eILCkvmW34cbCC8YeEF2mE+Ci8o7s=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libdrm libva ];
meta = with lib; {
broken = (stdenv.isLinux && stdenv.isAarch64);
homepage = "https://01.org/linuxmedia";
description = "Intel C for Media Runtime";
longDescription = "Media GPU kernel manager for Intel G45 & HD Graphics family";
license = licenses.mit;
maintainers = with maintainers; [ tadfisher ];
platforms = platforms.linux;
};
}