aws-vault: 4.5.1 to 5.3.2 (#80949)
The aws-vault development has switched to using go modules. Therefore this package has also been updated to use `buildGoModule` helper.
This commit is contained in:
parent
987d6c216f
commit
4aaab192a7
@ -1,17 +1,18 @@
|
|||||||
{ buildGoPackage, lib, fetchFromGitHub }:
|
{ buildGoModule, lib, fetchFromGitHub }:
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "aws-vault";
|
pname = "aws-vault";
|
||||||
version = "4.5.1";
|
version = "5.3.2";
|
||||||
|
|
||||||
goPackagePath = "github.com/99designs/${pname}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "99designs";
|
owner = "99designs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0y64fx15p9ls829lif7c0jaxyclzpnr8l5cyw25q545878dzmcs5";
|
sha256 = "04dyibcaijv5011laycf39m4gvprvvsn5zkxslyih1kqd170w3wg";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
modSha256 = "1d3hjfmfmlpw2scfyn597zkzz864w97p0wrsxjp49m9mi0pgmhq9";
|
||||||
|
subPackages = [ "." ];
|
||||||
|
|
||||||
# set the version. see: aws-vault's Makefile
|
# set the version. see: aws-vault's Makefile
|
||||||
buildFlagsArray = ''
|
buildFlagsArray = ''
|
||||||
-ldflags=
|
-ldflags=
|
||||||
@ -19,10 +20,10 @@ buildGoPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
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";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ zimbatm ];
|
maintainers = with maintainers; [ zimbatm ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user