nixpkgs/pkgs/tools/admin/aws-rotate-key/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
709 B
Nix
Raw Normal View History

2022-04-17 00:52:48 +00:00
{ lib, buildGoModule, fetchFromGitHub, testers, aws-rotate-key }:
2018-07-11 20:40:25 +00:00
2022-04-17 00:52:48 +00:00
buildGoModule rec {
pname = "aws-rotate-key";
2023-03-04 14:48:02 +00:00
version = "1.1.0";
2018-07-11 20:40:25 +00:00
src = fetchFromGitHub {
owner = "Fullscreen";
repo = "aws-rotate-key";
2022-04-17 00:52:48 +00:00
rev = "v${version}";
2023-03-04 14:48:02 +00:00
sha256 = "sha256-PZ7+GC4P4bkT+DWOhW70KkhUCUjn4gIG+OKoOBSc/8c=";
2018-07-11 20:40:25 +00:00
};
2023-03-04 14:48:02 +00:00
vendorHash = "sha256-Asfbv7avT+L8/WNQ6NS7gFcjA9MiTCu5PzsuA/PT6/k=";
2022-04-17 00:52:48 +00:00
ldflags = [ "-s" "-w" ];
passthru.tests.version = testers.testVersion {
package = aws-rotate-key;
};
2018-07-11 20:40:25 +00:00
meta = with lib; {
2018-07-11 20:40:25 +00:00
description = "Easily rotate your AWS key";
homepage = "https://github.com/Fullscreen/aws-rotate-key";
2018-07-11 20:40:25 +00:00
license = licenses.mit;
2022-04-17 00:52:48 +00:00
maintainers = [ maintainers.mbode ];
2018-07-11 20:40:25 +00:00
};
}