2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-04-13 12:51:31 +02:00
|
|
|
|
2019-06-13 21:14:16 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "iamy";
|
2021-10-30 01:51:14 +02:00
|
|
|
version = "2.4.0";
|
2018-04-13 12:51:31 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "99designs";
|
|
|
|
repo = "iamy";
|
|
|
|
rev = "v${version}";
|
2021-10-30 01:51:14 +02:00
|
|
|
sha256 = "sha256-oH3ijZaWXI0TdVQN9gzp5ypWzY7OqSxDh7VBoZo42Cs=";
|
2018-04-13 12:51:31 +02:00
|
|
|
};
|
|
|
|
|
2021-10-30 01:51:14 +02:00
|
|
|
vendorSha256 = "sha256-/IUYM3pTvcHXw8t5MW6JUEWdxegFuQC8zkiySp8VEgE=";
|
2019-06-13 21:14:16 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-08-26 08:45:51 +02:00
|
|
|
ldflags = [
|
|
|
|
"-X main.Version=v${version}" "-s" "-w"
|
|
|
|
];
|
2019-06-13 21:14:16 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-04-13 12:51:31 +02:00
|
|
|
description = "A cli tool for importing and exporting AWS IAM configuration to YAML files";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/99designs/iamy";
|
2018-04-13 12:51:31 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ suvash ];
|
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|