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:
commit
5984aae9a7
@ -2,7 +2,7 @@
|
|||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "aws-vault";
|
pname = "aws-vault";
|
||||||
version = "4.1.0";
|
version = "4.3.0";
|
||||||
|
|
||||||
goPackagePath = "github.com/99designs/${pname}";
|
goPackagePath = "github.com/99designs/${pname}";
|
||||||
|
|
||||||
@ -10,9 +10,15 @@ buildGoPackage rec {
|
|||||||
owner = "99designs";
|
owner = "99designs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
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; {
|
meta = with lib; {
|
||||||
description = "A vault for securely storing and accessing AWS credentials in development environments";
|
description = "A vault for securely storing and accessing AWS credentials in development environments";
|
||||||
homepage = "https://github.com/99designs/aws-vault";
|
homepage = "https://github.com/99designs/aws-vault";
|
||||||
|
Loading…
Reference in New Issue
Block a user