Unverified Commit 352d3748 authored by Sarah Brofeldt's avatar Sarah Brofeldt Committed by GitHub
Browse files

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

aws-iam-authenticator: 0.6.11 -> 0.6.12
parents 8d710f23 4e193f88
Loading
Loading
Loading
Loading
+14 −9
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub }:
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "aws-iam-authenticator";
  version = "0.6.11";
  version = "0.6.12";

  src = fetchFromGitHub {
    owner = "kubernetes-sigs";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-4bZnGgf/H2/uLhh8ip8rrA+U0vA+1SO5uhjLK40j3wE=";
    rev = "refs/tags/v${version}";
    hash = "sha256-IIlAsxxEYjR7+wdWExdsQAH0x4yOXZ+bVQWwn7mrhRw=";
  };

  vendorHash = "sha256-RcZqnyZtonE4qeu+llL1OPGPG93/Rx8ESWM5wapZ1BM=";

  ldflags = let PKG = "sigs.k8s.io/aws-iam-authenticator"; in [
    "-s" "-w"
    "-X ${PKG}/pkg.Version=${version}"
    "-X ${PKG}/pkg.BuildDate=1970-01-01T01:01:01Z"
    "-X ${PKG}/pkg.CommitID=${version}"
    "-s"
    "-w"
    "-X=${PKG}/pkg.Version=${version}"
    "-X=${PKG}/pkg.BuildDate=1970-01-01T01:01:01Z"
    "-X ?${PKG}/pkg.CommitID=${version}"
  ];

  subPackages = [ "cmd/aws-iam-authenticator" ];
@@ -25,7 +29,8 @@ buildGoModule rec {
  meta = with lib; {
    homepage = "https://github.com/kubernetes-sigs/aws-iam-authenticator";
    description = "AWS IAM credentials for Kubernetes authentication";
    changelog = "https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = [ maintainers.srhb ];
    maintainers = with maintainers; [ srhb ];
  };
}