nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 26 lines 660 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "iamy"; 5 version = "2.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "99designs"; 9 repo = "iamy"; 10 rev = "v${version}"; 11 sha256 = "sha256-oH3ijZaWXI0TdVQN9gzp5ypWzY7OqSxDh7VBoZo42Cs="; 12 }; 13 14 vendorSha256 = "sha256-/IUYM3pTvcHXw8t5MW6JUEWdxegFuQC8zkiySp8VEgE="; 15 16 ldflags = [ 17 "-X main.Version=v${version}" "-s" "-w" 18 ]; 19 20 meta = with lib; { 21 description = "A cli tool for importing and exporting AWS IAM configuration to YAML files"; 22 homepage = "https://github.com/99designs/iamy"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ suvash ]; 25 }; 26}