about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/admin/iamy/default.nix
blob: cfe336a7e83064400f7683451014d932f7f04a12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 ];
  };
}