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,30 @@
{ stdenv, lib, fetchurl, cmake, meson, ninja, pkg-config
, doctest, glm, libevdev, libxml2
}:
stdenv.mkDerivation rec {
pname = "wf-config";
version = "0.7.1";
src = fetchurl {
url = "https://github.com/WayfireWM/wf-config/releases/download/v${version}/wf-config-${version}.tar.xz";
sha256 = "1w75yxhz0nvw4mlv38sxp8k8wb5h99b51x3fdvizc3yaxanqa8kx";
};
nativeBuildInputs = [ cmake meson ninja pkg-config ];
buildInputs = [ doctest libevdev libxml2 ];
propagatedBuildInputs = [ glm ];
# CMake is just used for finding doctest.
dontUseCmakeConfigure = true;
doCheck = true;
meta = with lib; {
homepage = "https://github.com/WayfireWM/wf-config";
description = "Library for managing configuration files, written for Wayfire";
license = licenses.mit;
maintainers = with maintainers; [ qyliss wucke13 ];
platforms = platforms.unix;
};
}