depot/third_party/nixpkgs/pkgs/tools/admin/aws-rotate-key/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

29 lines
745 B
Nix

{ lib, buildGoModule, fetchFromGitHub, testers, aws-rotate-key }:
buildGoModule rec {
pname = "aws-rotate-key";
version = "1.1.0";
src = fetchFromGitHub {
owner = "Fullscreen";
repo = "aws-rotate-key";
rev = "v${version}";
sha256 = "sha256-PZ7+GC4P4bkT+DWOhW70KkhUCUjn4gIG+OKoOBSc/8c=";
};
vendorHash = "sha256-Asfbv7avT+L8/WNQ6NS7gFcjA9MiTCu5PzsuA/PT6/k=";
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 ];
mainProgram = "aws-rotate-key";
};
}