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,34 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3, lua, glib }:
stdenv.mkDerivation rec {
pname = "pinsel";
version = "unstable-2021-09-13";
src = fetchFromGitHub {
owner = "Nooo37";
repo = pname;
rev = "24b0205ca041511b3efb2a75ef296539442f9f54";
sha256 = "sha256-w+jiKypZODsmZq3uWGNd8PZhe1SowHj0thcQTX8WHfQ=";
};
strictDeps = true;
nativeBuildInputs = [ pkg-config glib ];
buildInputs = [ lua gtk3 ];
makeFlags = [ "INSTALLDIR=${placeholder "out"}/bin" ];
preInstall = ''
mkdir -p $out/bin
'';
meta = with lib; {
description = "Minimal screenshot annotation tool with lua config";
homepage = "https://github.com/Nooo37/pinsel";
# no license
license = licenses.unfree;
maintainers = with maintainers; [ lom ];
mainProgram = "pinsel";
};
}