My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/security/aws-iam-authenticator/default.nix

28 lines
805 B

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "aws-iam-authenticator";
version = "0.5.7";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-nFHshmGZZMzssF2INdEqpvARkFjBpd7qNV9tabySABU=";
};
# Upstream has inconsistent vendoring, see https://github.com/kubernetes-sigs/aws-iam-authenticator/issues/377
deleteVendor = true;
vendorSha256 = null;
ldflags = [ "-s" "-w" "-X main.version=v${version}" ];
subPackages = [ "cmd/aws-iam-authenticator" ];
meta = with lib; {
homepage = "https://github.com/kubernetes-sigs/aws-iam-authenticator";
description = "AWS IAM credentials for Kubernetes authentication";
license = licenses.asl20;
maintainers = [ maintainers.srhb ];
};
}