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
|
|
];
|
|
}
|