diff options
author | Suraj Barkale <suraj@barkale.com> | 2020-02-24 23:08:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 12:08:05 +0000 |
commit | 4aaab192a79bbdb4a21726acf6e05feecc3e0fc4 (patch) | |
tree | 45bc32bd16fe7e25b217c4052c8686c363cb5047 /pkgs/tools/admin/aws-vault | |
parent | 987d6c216f080d2c51ea970152f4fcf8325b5978 (diff) |
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.
Diffstat (limited to 'pkgs/tools/admin/aws-vault')
-rw-r--r-- | pkgs/tools/admin/aws-vault/default.nix | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/tools/admin/aws-vault/default.nix b/pkgs/tools/admin/aws-vault/default.nix index ddecd15b6ade8..48a1de61cd80e 100644 --- a/pkgs/tools/admin/aws-vault/default.nix +++ b/pkgs/tools/admin/aws-vault/default.nix @@ -1,17 +1,18 @@ -{ buildGoPackage, lib, fetchFromGitHub }: -buildGoPackage rec { +{ buildGoModule, lib, fetchFromGitHub }: +buildGoModule rec { pname = "aws-vault"; - version = "4.5.1"; - - goPackagePath = "github.com/99designs/${pname}"; + version = "5.3.2"; src = fetchFromGitHub { owner = "99designs"; repo = pname; rev = "v${version}"; - sha256 = "0y64fx15p9ls829lif7c0jaxyclzpnr8l5cyw25q545878dzmcs5"; + sha256 = "04dyibcaijv5011laycf39m4gvprvvsn5zkxslyih1kqd170w3wg"; }; + modSha256 = "1d3hjfmfmlpw2scfyn597zkzz864w97p0wrsxjp49m9mi0pgmhq9"; + subPackages = [ "." ]; + # set the version. see: aws-vault's Makefile buildFlagsArray = '' -ldflags= @@ -19,10 +20,10 @@ buildGoPackage rec { ''; 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"; license = licenses.mit; maintainers = with maintainers; [ zimbatm ]; }; - } |