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,31 @@
{ stdenv, lib, fetchFromSourcehut, zig, libX11, libXfixes }:
stdenv.mkDerivation rec {
pname = "clipbuzz";
version = "2.0.0";
src = fetchFromSourcehut {
owner = "~cnx";
repo = pname;
rev = version;
sha256 = "1qn98bwp7v7blw4v0g4pckgxrky5ggvq9m0kck2kqw8jg9jc15jp";
};
nativeBuildInputs = [ zig ];
buildInputs = [ libX11 libXfixes ];
preBuild = ''
export HOME=$TMPDIR
'';
installPhase = ''
zig build -Drelease-safe -Dcpu=baseline --prefix $out install
'';
meta = with lib; {
description = "Buzz on new X11 clipboard events";
homepage = "https://git.sr.ht/~cnx/clipbuzz";
license = licenses.unlicense;
maintainers = [ maintainers.McSinyx ];
};
}