pulumiPackages.pulumi-language-go: init at 3.53.1

This commit is contained in:
afreakk 2023-03-14 19:13:59 +01:00
parent 8889512934
commit 27b677f107
2 changed files with 28 additions and 0 deletions

View file

@ -7,6 +7,7 @@ in
pulumi-aws-native = callPackage' ./pulumi-aws-native.nix { };
pulumi-azure-native = callPackage' ./pulumi-azure-native.nix { };
pulumi-command = callPackage' ./pulumi-command.nix { };
pulumi-language-go = callPackage ./pulumi-language-go.nix { };
pulumi-language-nodejs = callPackage ./pulumi-language-nodejs.nix { };
pulumi-language-python = callPackage ./pulumi-language-python.nix { };
pulumi-random = callPackage' ./pulumi-random.nix { };

View file

@ -0,0 +1,27 @@
{ lib
, buildGoModule
, pulumi
}:
buildGoModule rec {
pname = "pulumi-language-go";
inherit (pulumi) version src;
sourceRoot = "${src.name}/sdk";
vendorHash = pulumi.sdkVendorHash;
subPackages = [
"go/pulumi-language-go"
];
ldflags = [
"-s"
"-w"
"-X github.com/pulumi/pulumi/sdk/v3/go/common/version.Version=${version}"
];
meta = with lib; {
description = "Golang language host plugin for Pulumi";
homepage = "https://github.com/pulumi/pulumi/tree/master/sdk/go";
license = licenses.asl20;
};
}