1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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
This commit is contained in:
Sarah Brofeldt 2018-09-11 11:29:33 +02:00 committed by GitHub
commit 5984aae9a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";