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, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "gdm";
version = "1.4";
goPackagePath = "github.com/sparrc/gdm";
src = fetchFromGitHub {
owner = "sparrc";
repo = "gdm";
rev = version;
sha256 = "0kpqmbg144qcvd8k88j9yx9lrld85ray2viw161xajafk16plvld";
};
goDeps = ./deps.nix;
meta = with lib; {
description = "Minimalist dependency manager for Go written in Go";
homepage = "https://github.com/sparrc/gdm";
license = licenses.unlicense;
maintainers = [ maintainers.mic92 ];
};
}

12
pkgs/development/tools/gdm/deps.nix generated Normal file
View file

@ -0,0 +1,12 @@
# This file was generated by go2nix.
[
{
goPackagePath = "golang.org/x/tools";
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "0d047c8d5a8c3a1c89d9d78511f4ed7aef49ea0c";
sha256 = "0ahyxvqy25zpyppmrb7vsad332gmq2cdi7hb0si6ni0cmrlqcfwr";
};
}
]