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,25 @@
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "s3gof3r";
version = "0.5.0";
goPackagePath = "github.com/rlmcpherson/s3gof3r";
src = fetchFromGitHub {
owner = "rlmcpherson";
repo = "s3gof3r";
rev = "v${version}";
sha256 = "sha256-88C6c4DRD/4ePTO1+1YiI8ApXWE2uUlr07dDCxGzaoE=";
};
goDeps = ./deps.nix;
meta = with lib; {
description = "Fast, concurrent, streaming access to Amazon S3, including gof3r, a CLI";
homepage = "https://pkg.go.dev/github.com/rlmcpherson/s3gof3r";
maintainers = with maintainers; [ ];
mainProgram = "gof3r";
license = licenses.mit;
};
}

11
pkgs/tools/networking/s3gof3r/deps.nix generated Normal file
View file

@ -0,0 +1,11 @@
[
{
goPackagePath = "github.com/jessevdk/go-flags";
fetch = {
type = "git";
url = "https://github.com/jessevdk/go-flags";
rev = "1b89bf73cd2c3a911d7b2a279ab085c4a18cf539";
sha256 = "027nglc5xx1cm03z9sisg0iqrhwcj6gh5z254rrpl8p4fwrxx680";
};
}
]