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,24 @@
{ lib, stdenv, fetchFromGitHub, cmake, docutils, pkg-config, glib, libpthreadstubs
, libXau, libXdmcp, xcbutil }:
stdenv.mkDerivation {
pname = "xss-lock";
version = "unstable-2018-05-31";
src = fetchFromGitHub {
owner = "xdbob";
repo = "xss-lock";
rev = "cd0b89df9bac1880ea6ea830251c6b4492d505a5";
sha256 = "040nqgfh564frvqkrkmak3x3h0yadz6kzk81jkfvd9vd20a9drh7";
};
nativeBuildInputs = [ cmake pkg-config docutils ];
buildInputs = [ glib libpthreadstubs libXau libXdmcp xcbutil ];
meta = with lib; {
description = "Use external locker (such as i3lock) as X screen saver";
license = licenses.mit;
maintainers = with maintainers; [ malyn offline ];
platforms = platforms.linux;
};
}