9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
23 lines
439 B
Nix
23 lines
439 B
Nix
{ buildGoModule
|
|
, pulumi
|
|
, nodejs
|
|
}:
|
|
buildGoModule rec {
|
|
inherit (pulumi) version src sdkVendorHash;
|
|
|
|
pname = "pulumi-language-nodejs";
|
|
|
|
sourceRoot = "${src.name}/sdk/nodejs/cmd/pulumi-language-nodejs";
|
|
|
|
vendorHash = "sha256-3kDWb+1aebV2D+Nm5bkhKrJZMe/lD0ltFQ7p+Bfk644=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/pulumi/pulumi/sdk/v3/go/common/version.Version=${version}"
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
nodejs
|
|
];
|
|
}
|