summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSarah Brofeldt <sbrofeldt@gmail.com>2018-09-11 11:29:33 +0200
committerGitHub <noreply@github.com>2018-09-11 11:29:33 +0200
commit5984aae9a77f2ce3fea8ba3c8d3be112226badc4 (patch)
treed6d000b53d317162b34991a5054999c85f1f9714 /pkgs
parent575f2cc3bd25a873cf20044c98307a13eb428c59 (diff)
parent962712524eba87ab3993e2095a8387b1b8ee7b72 (diff)
downloadnixpkgs-5984aae9a77f2ce3fea8ba3c8d3be112226badc4.tar
nixpkgs-5984aae9a77f2ce3fea8ba3c8d3be112226badc4.tar.gz
nixpkgs-5984aae9a77f2ce3fea8ba3c8d3be112226badc4.tar.bz2
nixpkgs-5984aae9a77f2ce3fea8ba3c8d3be112226badc4.tar.lz
nixpkgs-5984aae9a77f2ce3fea8ba3c8d3be112226badc4.tar.xz
nixpkgs-5984aae9a77f2ce3fea8ba3c8d3be112226badc4.tar.zst
nixpkgs-5984aae9a77f2ce3fea8ba3c8d3be112226badc4.zip
Merge pull request #46503 from ento/aws-vault-4-3-0
aws-vault: 4.1.0 -> 4.3.0, pass linker flag for specifying app version
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/admin/aws-vault/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/tools/admin/aws-vault/default.nix b/pkgs/tools/admin/aws-vault/default.nix
index 4f8b1bc1368..71360f8030c 100644
--- a/pkgs/tools/admin/aws-vault/default.nix
+++ b/pkgs/tools/admin/aws-vault/default.nix
@@ -2,7 +2,7 @@
 buildGoPackage rec {
   name = "${pname}-${version}";
   pname = "aws-vault";
-  version = "4.1.0";
+  version = "4.3.0";
 
   goPackagePath = "github.com/99designs/${pname}";
 
@@ -10,9 +10,15 @@ buildGoPackage rec {
     owner = "99designs";
     repo = pname;
     rev = "v${version}";
-    sha256 = "04cdynqmkbs7bkl2aay4sjxq49i90fg048lw0ssw1fpwldbvnl6j";
+    sha256 = "0cwzvw1rcvg7y3m8dahr9r05s4i9apnfw5xhiaf0rlkdh3vy33wp";
   };
 
+  # set the version. see: aws-vault's Makefile
+  buildFlagsArray = ''
+    -ldflags=
+    -X main.Version=v${version}
+  '';
+
   meta = with lib; {
     description = "A vault for securely storing and accessing AWS credentials in development environments";
     homepage = "https://github.com/99designs/aws-vault";