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,23 @@
{ buildGoPackage, lib, fetchurl }:
buildGoPackage rec {
pname = "filegive";
version = "0.7.4";
src = fetchurl {
url = "https://viric.name/soft/filegive/filegive-${version}.tar.gz";
sha256 = "1z3vyqfdp271qa5ah0i6jmn9gh3gb296wcm33sd2zfjqapyh12hy";
};
goDeps = ./deps.nix;
goPackagePath = "viric.name/soft/filegive";
meta = with lib; {
homepage = "https://viric.name/cgi-bin/filegive";
description = "Easy p2p file sending program";
license = licenses.agpl3Plus;
maintainers = [ maintainers.viric ];
platforms = platforms.unix;
};
}

12
pkgs/tools/networking/filegive/deps.nix generated Normal file
View file

@ -0,0 +1,12 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
{
goPackagePath = "code.google.com/p/go-nat-pmp";
fetch = {
type = "git";
url = "https://github.com/jackpal/go-nat-pmp";
rev = "e04deda90d5683d6e375732740814a89eea7bafd";
sha256 = "1swwfyzaj3l40yh9np3x4fcracgs79nwryc85sxbdakx8wwxs2xb";
};
}
]