biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / tf2pulumi / default.nix
blobbc5c92a98f22c8d116665e3b169519920caefa57
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "tf2pulumi";
5   version = "0.12.0";
7   src = fetchFromGitHub {
8     owner = "pulumi";
9     repo = "tf2pulumi";
10     rev = "v${version}";
11     sha256 = "sha256-i6nK1AEnQY47ro6tNDBExdcb9WvltY/21FVrVaiSTvo=";
12   };
14   vendorHash = "sha256-x7GAkbvhML2VUQ9/zitrTBBiy9lISb3iTx6yn5WbEig=";
16   ldflags = [
17     "-s" "-w" "-X=github.com/pulumi/tf2pulumi/version.Version=${src.rev}"
18   ];
20   subPackages = [ "." ];
22   meta = with lib; {
23     description = "Convert Terraform projects to Pulumi TypeScript programs";
24     mainProgram = "tf2pulumi";
25     homepage = "https://www.pulumi.com/tf2pulumi/";
26     license = licenses.asl20;
27     maintainers = with maintainers; [ mausch ];
28   };