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,51 @@
{ stdenv, avahi-compat, cmake, fetchFromGitHub, flatbuffers, hidapi, lib, libcec
, libusb1, libX11, libxcb, libXrandr, mbedtls, mkDerivation, protobuf, python3
, qtbase, qtserialport, qtsvg, qtx11extras, wrapQtAppsHook }:
mkDerivation rec {
pname = "hyperion.ng";
version = "2.0.12";
src = fetchFromGitHub {
owner = "hyperion-project";
repo = pname;
rev = version;
sha256 = "sha256-J31QaWwGNhIpnZmWN9lZEI6fC0VheY5X8fGchQqtAlQ=";
};
buildInputs = [
avahi-compat
flatbuffers
hidapi
libcec
libusb1
libX11
libxcb
libXrandr
mbedtls
protobuf
python3
qtbase
qtserialport
qtsvg
qtx11extras
];
nativeBuildInputs = [ cmake wrapQtAppsHook ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DUSE_SYSTEM_MBEDTLS_LIBS=ON"
"-DUSE_SYSTEM_FLATBUFFERS_LIBS=ON"
"-DUSE_SYSTEM_PROTO_LIBS=ON"
];
meta = with lib; {
broken = (stdenv.isLinux && stdenv.isAarch64);
description = "Open Source Ambilight solution";
homepage = "https://github.com/hyperion-project/hyperion.ng";
license = licenses.mit;
maintainers = with maintainers; [ algram ];
platforms = platforms.unix;
};
}