git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit4aaab192a79bbdb4a21726acf6e05feecc3e0fc4 authorSuraj Barkale <suraj@barkale.com> dateMon 24 Feb 2020, 23:08 (7 years ago) parent987d6c2
1 file changed+9−8
pkgs/tools/admin/aws-vault/default.nix+9−8
pkgs/tools/admin/aws-vault/default.nix+9−8
@@ -1,17 +1,18 @@
1−{ buildGoPackage, lib, fetchFromGitHub }:
2−buildGoPackage rec {
1+{ buildGoModule, lib, fetchFromGitHub }:
2+buildGoModule rec {
33 pname = "aws-vault";
4− version = "4.5.1";
5−
6− goPackagePath = "github.com/99designs/${pname}";
4+ version = "5.3.2";
75
86 src = fetchFromGitHub {
97 owner = "99designs";
108 repo = pname;
119 rev = "v${version}";
12− sha256 = "0y64fx15p9ls829lif7c0jaxyclzpnr8l5cyw25q545878dzmcs5";
10+ sha256 = "04dyibcaijv5011laycf39m4gvprvvsn5zkxslyih1kqd170w3wg";
1311 };
1412
13+ modSha256 = "1d3hjfmfmlpw2scfyn597zkzz864w97p0wrsxjp49m9mi0pgmhq9";
14+ subPackages = [ "." ];
15+
1516 # set the version. see: aws-vault's Makefile
1617 buildFlagsArray = ''
1718 -ldflags=
@@ -19,10 +20,10 @@ buildGoPackage rec {
1920 '';
2021
2122 meta = with lib; {
22− description = "A vault for securely storing and accessing AWS credentials in development environments";
23+ description =
24+ "A vault for securely storing and accessing AWS credentials in development environments";
2325 homepage = "https://github.com/99designs/aws-vault";
2426 license = licenses.mit;
2527 maintainers = with maintainers; [ zimbatm ];
2628 };
27−
2829}