Merge pull request #119142 from mausch/tf2pulumi

tf2pulumi: init at 0.10.0
This commit is contained in:
Sandro 2021-04-12 04:33:15 +02:00 committed by GitHub
commit 0c27bb45a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tf2pulumi";
version = "0.10.0";
src = fetchFromGitHub {
owner = "pulumi";
repo = "tf2pulumi";
rev = "v${version}";
sha256 = "199c4hd236mfz9c44rpzpbr3w3fjj8pbw656jd9k3v2igzw942c7";
};
vendorSha256 = "1cwyag67q0361szfjv1cyi51cg1bbmkpy34y33hn53aa55pkm1fw";
buildFlagsArray = ''
-ldflags=-s -w -X=github.com/pulumi/tf2pulumi/version.Version=${src.rev}
'';
subPackages = [ "." ];
meta = with lib; {
description = "Convert Terraform projects to Pulumi TypeScript programs";
homepage = "https://www.pulumi.com/tf2pulumi/";
license = licenses.asl20;
maintainers = with maintainers; [ mausch ];
};
}

View File

@ -8667,6 +8667,8 @@ in
tex-match = callPackage ../tools/typesetting/tex/tex-match { };
tf2pulumi = callPackage ../development/tools/tf2pulumi { };
thc-hydra = callPackage ../tools/security/thc-hydra { };
thc-ipv6 = callPackage ../tools/security/thc-ipv6 { };