2021-01-11 12:52:26 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-08-14 00:03:56 +01:00
|
|
|
|
2021-01-11 12:52:26 +00:00
|
|
|
buildGoModule rec {
|
2019-05-02 08:54:24 +01:00
|
|
|
pname = "aws-iam-authenticator";
|
2021-01-11 12:52:26 +00:00
|
|
|
version = "0.5.2";
|
2018-08-14 00:03:56 +01:00
|
|
|
|
2019-05-02 08:54:24 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kubernetes-sigs";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-01-11 12:52:26 +00:00
|
|
|
sha256 = "1xfc3a0dik4930va30sbl6687v6i5irv96fwis9lrqh5rjqnblqp";
|
2018-08-14 00:03:56 +01:00
|
|
|
};
|
|
|
|
|
2021-01-11 12:52:26 +00:00
|
|
|
vendorSha256 = null;
|
|
|
|
|
2021-02-09 19:17:46 +00:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=v${version}" ];
|
2021-02-08 08:53:39 +00:00
|
|
|
|
2021-02-09 19:20:09 +00:00
|
|
|
subPackages = [ "cmd/aws-iam-authenticator" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-14 00:03:56 +01:00
|
|
|
homepage = "https://github.com/kubernetes-sigs/aws-iam-authenticator";
|
|
|
|
description = "AWS IAM credentials for Kubernetes authentication";
|
2019-05-02 08:54:24 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.srhb ];
|
2018-08-14 00:03:56 +01:00
|
|
|
};
|
|
|
|
}
|