2023-07-15 17:15:38 +00:00
|
|
|
{ buildGoModule
|
2022-12-28 21:21:41 +00:00
|
|
|
, pulumi
|
|
|
|
, nodejs
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
inherit (pulumi) version src sdkVendorHash;
|
|
|
|
|
|
|
|
pname = "pulumi-language-nodejs";
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
sourceRoot = "${src.name}/sdk/nodejs/cmd/pulumi-language-nodejs";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorHash = "sha256-3kDWb+1aebV2D+Nm5bkhKrJZMe/lD0ltFQ7p+Bfk644=";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X github.com/pulumi/pulumi/sdk/v3/go/common/version.Version=${version}"
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-12-28 21:21:41 +00:00
|
|
|
nodejs
|
|
|
|
];
|
|
|
|
}
|