Merge pull request #262062 from fabaff/aws-iam-authenticator-bump

aws-iam-authenticator: 0.6.11 -> 0.6.12

authored by Sarah Brofeldt and committed by GitHub 352d3748 8d710f23

+14 -9
+14 -9
pkgs/tools/security/aws-iam-authenticator/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub }: 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 2 5 3 6 buildGoModule rec { 4 7 pname = "aws-iam-authenticator"; 5 - version = "0.6.11"; 8 + version = "0.6.12"; 6 9 7 10 src = fetchFromGitHub { 8 11 owner = "kubernetes-sigs"; 9 12 repo = pname; 10 - rev = "v${version}"; 11 - hash = "sha256-4bZnGgf/H2/uLhh8ip8rrA+U0vA+1SO5uhjLK40j3wE="; 13 + rev = "refs/tags/v${version}"; 14 + hash = "sha256-IIlAsxxEYjR7+wdWExdsQAH0x4yOXZ+bVQWwn7mrhRw="; 12 15 }; 13 16 14 17 vendorHash = "sha256-RcZqnyZtonE4qeu+llL1OPGPG93/Rx8ESWM5wapZ1BM="; 15 18 16 19 ldflags = let PKG = "sigs.k8s.io/aws-iam-authenticator"; in [ 17 - "-s" "-w" 18 - "-X ${PKG}/pkg.Version=${version}" 19 - "-X ${PKG}/pkg.BuildDate=1970-01-01T01:01:01Z" 20 - "-X ${PKG}/pkg.CommitID=${version}" 20 + "-s" 21 + "-w" 22 + "-X=${PKG}/pkg.Version=${version}" 23 + "-X=${PKG}/pkg.BuildDate=1970-01-01T01:01:01Z" 24 + "-X ?${PKG}/pkg.CommitID=${version}" 21 25 ]; 22 26 23 27 subPackages = [ "cmd/aws-iam-authenticator" ]; ··· 25 29 meta = with lib; { 26 30 homepage = "https://github.com/kubernetes-sigs/aws-iam-authenticator"; 27 31 description = "AWS IAM credentials for Kubernetes authentication"; 32 + changelog = "https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/tag/v${version}"; 28 33 license = licenses.asl20; 29 - maintainers = [ maintainers.srhb ]; 34 + maintainers = with maintainers; [ srhb ]; 30 35 }; 31 36 }