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, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gomacro";
rev = "b4c3ab9b218fd12f22759354f4f3e37635828d1f";
version = "20210131-${lib.strings.substring 0 7 rev}";
src = fetchFromGitHub {
owner = "cosmos72";
repo = "gomacro";
sha256 = "0ci486zqrhzvs3njn2ygaxsgjx3fn8bbj2q3sd80xvjiyjvq866g";
inherit rev;
};
vendorSha256 = "1ib4h57drikyy5aq4ms6vc1p29djlpjrh7xd3bgyykr9zmm2w1kx";
subPackages = [ "." ];
meta = with lib; {
description = "Interactive Go interpreter and debugger with generics and macros";
homepage = "https://github.com/cosmos72/gomacro";
license = licenses.mpl20;
maintainers = with maintainers; [ shofius ];
};
}