depot/third_party/nixpkgs/pkgs/tools/misc/iam-policy-json-to-terraform/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

23 lines
758 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "iam-policy-json-to-terraform";
version = "1.8.1";
src = fetchFromGitHub {
owner = "flosell";
repo = pname;
rev = "${version}";
sha256 = "sha256-O3JlBWT2YVu3mv/BCbs65k7HMF4cRCihd59wZzeoxcI=";
};
vendorSha256 = "sha256-IXWt/yFapDamfZClI6gm5vPA5VW2gV2iEq5c/nJXiiA=";
meta = with lib; {
description = "Small tool to convert an IAM Policy in JSON format into a Terraform aws_iam_policy_document ";
homepage = "https://github.com/flosell/iam-policy-json-to-terraform";
changelog = "https://github.com/flosell/iam-policy-json-to-terraform/releases/tag/${version}";
license = licenses.asl20;
maintainers = [ maintainers.ivankovnatsky ];
};
}