2023-03-24 00:07:29 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, pulumi
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pulumi-language-go";
|
|
|
|
inherit (pulumi) version src;
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
sourceRoot = "${src.name}/sdk/go/pulumi-language-go";
|
2023-03-24 00:07:29 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
vendorHash = "sha256-mBK9VEatuxeoZtXXOKdwj7wtZ/lo4Bi2h7N00zK6Hpw=";
|
2023-03-24 00:07:29 +00:00
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X github.com/pulumi/pulumi/sdk/v3/go/common/version.Version=${version}"
|
|
|
|
];
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
# go: inconsistent vendoring in ...
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Golang language host plugin for Pulumi";
|
|
|
|
homepage = "https://github.com/pulumi/pulumi/tree/master/sdk/go";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|