2ea8997135
GitOrigin-RevId: 5bc8b980b9178ef9a4bb622320cf34e59ea2ea10
28 lines
721 B
Nix
28 lines
721 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "tf2pulumi";
|
|
version = "0.11.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pulumi";
|
|
repo = "tf2pulumi";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-4sEsWMkGRpB3gMGUOPh7n/nNwEp+ErKQK0qcT5ImaZ4=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-wsgNrDnFXbpanEULEjf6OxOeMYmWzjE7vpVUB/UFNp8=";
|
|
|
|
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 ];
|
|
};
|
|
}
|