diff options
-rw-r--r-- | pkgs/tools/admin/iamy/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/tools/admin/iamy/default.nix b/pkgs/tools/admin/iamy/default.nix index cfe336a7e830..d4ee4d612932 100644 --- a/pkgs/tools/admin/iamy/default.nix +++ b/pkgs/tools/admin/iamy/default.nix @@ -1,8 +1,8 @@ -{ stdenv, buildGoPackage, fetchFromGitHub }: +{ stdenv, buildGoModule, fetchFromGitHub }: -buildGoPackage rec { +buildGoModule rec { name = "iamy-${version}"; - version = "2.1.1"; + version = "2.3.2"; goPackagePath = "github.com/99designs/iamy"; @@ -10,9 +10,15 @@ buildGoPackage rec { owner = "99designs"; repo = "iamy"; rev = "v${version}"; - sha256 = "0b55hxcvgil8rl6zh2kyndfi7s5nzclawjb0sby14wpys3v08bjf"; + sha256 = "1fypc6yjnhlpk7zhb2lvah2ikh2zji9sll55rqjbr3i4j02h484z"; }; + modSha256 = "0akak573zvz3xg5d7vf0ch2mrmj1jkzcdc29v3kn43f7944c2wcl"; + + buildFlagsArray = [''-ldflags= + -X main.Version=v${version} -s -w + '']; + meta = with stdenv.lib; { description = "A cli tool for importing and exporting AWS IAM configuration to YAML files"; homepage = https://github.com/99designs/iamy; |