nixpkgs/pkgs/tools/admin/iamy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
660 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-06-13 20:14:16 +01:00
buildGoModule rec {
pname = "iamy";
2021-10-30 00:51:14 +01:00
version = "2.4.0";
src = fetchFromGitHub {
owner = "99designs";
repo = "iamy";
rev = "v${version}";
2021-10-30 00:51:14 +01:00
sha256 = "sha256-oH3ijZaWXI0TdVQN9gzp5ypWzY7OqSxDh7VBoZo42Cs=";
};
2021-10-30 00:51:14 +01:00
vendorSha256 = "sha256-/IUYM3pTvcHXw8t5MW6JUEWdxegFuQC8zkiySp8VEgE=";
2019-06-13 20:14:16 +01:00
2021-08-26 07:45:51 +01:00
ldflags = [
"-X main.Version=v${version}" "-s" "-w"
];
2019-06-13 20:14:16 +01:00
meta = with 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 ];
};
}