7 pname = "aws-iam-authenticator";
10 src = fetchFromGitHub {
11 owner = "kubernetes-sigs";
13 rev = "refs/tags/v${version}";
14 hash = "sha256-8WLuz3+pn6BMnhZGUfRYj0IwOm6xuqd6zj+J2XbCPy4=";
17 vendorHash = "sha256-xCNuFO+J0NXq8CPZXB0R2RmLLH27Vh/GMrBKk+mGk04=";
19 ldflags = let PKG = "sigs.k8s.io/aws-iam-authenticator"; in [
22 "-X=${PKG}/pkg.Version=${version}"
23 "-X=${PKG}/pkg.BuildDate=1970-01-01T01:01:01Z"
24 "-X ?${PKG}/pkg.CommitID=${version}"
27 subPackages = [ "cmd/aws-iam-authenticator" ];
30 homepage = "https://github.com/kubernetes-sigs/aws-iam-authenticator";
31 description = "AWS IAM credentials for Kubernetes authentication";
32 mainProgram = "aws-iam-authenticator";
33 changelog = "https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/tag/v${version}";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ srhb ];