2020-03-27 07:33:21 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-04-13 11:51:31 +01:00
|
|
|
|
2019-06-13 20:14:16 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "iamy";
|
2019-06-13 20:14:16 +01:00
|
|
|
version = "2.3.2";
|
2018-04-13 11:51:31 +01:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
goPackagePath = "github.com/99designs/iamy";
|
|
|
|
|
2018-04-13 11:51:31 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "99designs";
|
|
|
|
repo = "iamy";
|
|
|
|
rev = "v${version}";
|
2019-06-13 20:14:16 +01:00
|
|
|
sha256 = "1fypc6yjnhlpk7zhb2lvah2ikh2zji9sll55rqjbr3i4j02h484z";
|
2018-04-13 11:51:31 +01:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "0c4g1zr0wl118g41hqri0vwvfin39yvgs214w3spw8ggjcj6bzph";
|
2019-06-13 20:14:16 +01:00
|
|
|
|
|
|
|
buildFlagsArray = [''-ldflags=
|
|
|
|
-X main.Version=v${version} -s -w
|
|
|
|
''];
|
|
|
|
|
2018-04-13 11:51:31 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A cli tool for importing and exporting AWS IAM configuration to YAML files";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/99designs/iamy";
|
2018-04-13 11:51:31 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ suvash ];
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|