about summary refs log tree commit diff
path: root/pkgs/tools/security/aws-iam-authenticator
diff options
context:
space:
mode:
authorAdam Oliver Zsigmond <azsigmond@hiya.com>2019-05-02 09:54:24 +0200
committerMario Rodas <marsam@users.noreply.github.com>2019-05-05 12:14:54 -0500
commit79d08d64c67025094107245784afb233a6fec251 (patch)
tree58a9876298e7189a3c5ff336ceab530d5cf969c2 /pkgs/tools/security/aws-iam-authenticator
parent3c53211b75c3f141a380b12004ef2038d360546a (diff)
downloadnixlib-79d08d64c67025094107245784afb233a6fec251.tar
nixlib-79d08d64c67025094107245784afb233a6fec251.tar.gz
nixlib-79d08d64c67025094107245784afb233a6fec251.tar.bz2
nixlib-79d08d64c67025094107245784afb233a6fec251.tar.lz
nixlib-79d08d64c67025094107245784afb233a6fec251.tar.xz
nixlib-79d08d64c67025094107245784afb233a6fec251.tar.zst
nixlib-79d08d64c67025094107245784afb233a6fec251.zip
aws-iam-authenticator 2018-07-29 -> 0.4.0
Diffstat (limited to 'pkgs/tools/security/aws-iam-authenticator')
-rw-r--r--pkgs/tools/security/aws-iam-authenticator/default.nix27
1 files changed, 11 insertions, 16 deletions
diff --git a/pkgs/tools/security/aws-iam-authenticator/default.nix b/pkgs/tools/security/aws-iam-authenticator/default.nix
index 39c0c02890bd..44282d5f9643 100644
--- a/pkgs/tools/security/aws-iam-authenticator/default.nix
+++ b/pkgs/tools/security/aws-iam-authenticator/default.nix
@@ -1,27 +1,22 @@
-# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
-{ stdenv, buildGoPackage, fetchgit }:
+{ stdenv, buildGoPackage, fetchFromGitHub }:
 
 buildGoPackage rec {
-  name = "aws-iam-authenticator-${version}";
-  # This is meant to be a stable release, but since the rename from
-  # heptio, there has been no release. Please pin this to an actual
-  # release once that happens.
-  version = "2018-07-29";
-  rev = "01dd27d77ec1e2ec640a010970f00b2f8074b0b5";
+  pname = "aws-iam-authenticator";
+  version = "0.4.0";
 
   goPackagePath = "github.com/kubernetes-sigs/aws-iam-authenticator";
 
-  src = fetchgit {
-    inherit rev;
-    url = "https://github.com/kubernetes-sigs/aws-iam-authenticator";
-    sha256 = "1n7khd2qvl527x3ac6f89smf12za92g08d9v2j393i7n9l1rgw38";
+  src = fetchFromGitHub {
+    owner = "kubernetes-sigs";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1ghl2vms9wmvczdl2raqhy0gffxmk24h158gjb5mlw7rggzvb7bg";
   };
 
-  meta = {
+  meta = with stdenv.lib; {
     homepage = "https://github.com/kubernetes-sigs/aws-iam-authenticator";
     description = "AWS IAM credentials for Kubernetes authentication";
-    license = stdenv.lib.licenses.asl20;
-    platforms = stdenv.lib.platforms.all;
-    maintainers = [ stdenv.lib.maintainers.srhb ];
+    license = licenses.asl20;
+    maintainers = [ maintainers.srhb ];
   };
 }