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,28 @@
{lib, stdenv, fetchFromGitHub, cmake}:
stdenv.mkDerivation rec {
pname = "wla-dx";
version = "9.11";
src = fetchFromGitHub {
owner = "vhelin";
repo = "wla-dx";
rev = "v${version}-fix";
sha256 = "0sz1vqafl7ii3z1710sk0ilvczv8pb4b6lkmg9pr7hqj3kaxndii";
};
installPhase = ''
mkdir -p $out/bin
install binaries/* $out/bin
'';
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://www.villehelin.com/wla.html";
description = "Yet Another GB-Z80/Z80/6502/65C02/6510/65816/HUC6280/SPC-700 Multi Platform Cross Assembler Package";
license = licenses.gpl2;
maintainers = with maintainers; [ matthewbauer ];
platforms = platforms.all;
};
}