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:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
29
pkgs/tools/admin/aws-rotate-key/default.nix
Normal file
29
pkgs/tools/admin/aws-rotate-key/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, testers, aws-rotate-key }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "aws-rotate-key";
|
||||
version = "1.0.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fullscreen";
|
||||
repo = "aws-rotate-key";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-5kV87uQDSc/qpm79Pd2nXo/EcbMlhZqFYaw+gJQa2uo=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-h7tmJx/Um1Cy/ojiFjoKCH/LcOwhGU8ADb5WwmrkkJM=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = aws-rotate-key;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Easily rotate your AWS key";
|
||||
homepage = "https://github.com/Fullscreen/aws-rotate-key";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.mbode ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue