1 { lib, buildGoModule, fetchFromGitHub, testers, aws-rotate-key }:
4 pname = "aws-rotate-key";
7 src = fetchFromGitHub {
9 repo = "aws-rotate-key";
11 sha256 = "sha256-fYpgHHOw0k/8WLGhq+uVOvoF4Wff6wzTXuN8r4D+TmU=";
14 vendorHash = "sha256-gXtTd7lU9m9rO1w7Fx8o/s45j63h6GtUZrjOzFI4Q/o=";
16 ldflags = [ "-s" "-w" ];
18 passthru.tests.version = testers.testVersion {
19 package = aws-rotate-key;
20 command = "AWS_SHARED_CREDENTIALS_FILE=/dev/null aws-rotate-key --version";
24 description = "Easily rotate your AWS key";
25 homepage = "https://github.com/Fullscreen/aws-rotate-key";
26 license = licenses.mit;
27 maintainers = [ maintainers.mbode ];
28 mainProgram = "aws-rotate-key";