diff --git a/pkgs/tools/admin/iamy/default.nix b/pkgs/tools/admin/iamy/default.nix new file mode 100644 index 000000000000..cfe336a7e830 --- /dev/null +++ b/pkgs/tools/admin/iamy/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "iamy-${version}"; + version = "2.1.1"; + + goPackagePath = "github.com/99designs/iamy"; + + src = fetchFromGitHub { + owner = "99designs"; + repo = "iamy"; + rev = "v${version}"; + sha256 = "0b55hxcvgil8rl6zh2kyndfi7s5nzclawjb0sby14wpys3v08bjf"; + }; + + meta = with stdenv.lib; { + description = "A cli tool for importing and exporting AWS IAM configuration to YAML files"; + homepage = https://github.com/99designs/iamy; + license = licenses.mit; + maintainers = with maintainers; [ suvash ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cf5642d57999..72d403afd6e4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -563,6 +563,8 @@ with pkgs; aws-vault = callPackage ../tools/admin/aws-vault { }; + iamy = callPackage ../tools/admin/iamy { }; + azure-cli = nodePackages.azure-cli; azure-vhd-utils = callPackage ../tools/misc/azure-vhd-utils { };