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 @@
{ buildGoPackage, fetchFromGitHub, lib }:
buildGoPackage rec {
pname = "aws-env";
version = "0.4";
rev = "v${version}";
goPackagePath = "github.com/Droplr/aws-env";
src = fetchFromGitHub {
owner = "Droplr";
repo = pname;
inherit rev;
sha256 = "0pw1qz1nn0ig90p8d8c1qcwsdz0m9w63ib07carhh86gw55425j7";
};
goDeps = ./deps.nix;
meta = with lib; {
description = "Secure way to handle environment variables in Docker and envfile with AWS Parameter Store";
homepage = "https://github.com/Droplr/aws-env";
license = licenses.mit;
maintainers = with maintainers; [ srhb ];
};
}

12
pkgs/tools/admin/aws-env/deps.nix generated Normal file
View file

@ -0,0 +1,12 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
[
{
goPackagePath = "github.com/aws/aws-sdk-go";
fetch = {
type = "git";
url = "https://github.com/aws/aws-sdk-go";
rev = "5f03c87445c9dcd6aa831a76a77170919265aa97";
sha256 = "146rwinw2x4r0f2pixv62b7mmhvnnfvvjmfaj6dqjxrhp0imcxdi";
};
}
]