From 7815c86c104a99417db844791dcda34fe7a7965f Mon Sep 17 00:00:00 2001 From: Suvash Thapaliya Date: Thu, 13 Jun 2019 21:14:16 +0200 Subject: [PATCH] iamy: 2.1.1 -> 2.3.2 (#62613) --- pkgs/tools/admin/iamy/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/admin/iamy/default.nix b/pkgs/tools/admin/iamy/default.nix index cfe336a7e83..d4ee4d61293 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;