2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
27 lines
608 B
Nix
27 lines
608 B
Nix
{ lib
|
|
, buildGoModule
|
|
, pulumi
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "pulumi-language-go";
|
|
inherit (pulumi) version src;
|
|
|
|
sourceRoot = "${src.name}/sdk/go/pulumi-language-go";
|
|
|
|
vendorHash = "sha256-6JnRPns+qOLXP2RBjsgq4v6nuLn3uX8jF4+uinr2Wt8";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/pulumi/pulumi/sdk/v3/go/common/version.Version=${version}"
|
|
];
|
|
|
|
# go: inconsistent vendoring in ...
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Golang language host plugin for Pulumi";
|
|
homepage = "https://github.com/pulumi/pulumi/tree/master/sdk/go";
|
|
license = licenses.asl20;
|
|
};
|
|
}
|