2023-03-14 19:13:59 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, pulumi
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pulumi-language-go";
|
|
|
|
inherit (pulumi) version src;
|
|
|
|
|
2023-06-26 14:17:26 +02:00
|
|
|
sourceRoot = "${src.name}/sdk/go/pulumi-language-go";
|
2023-03-14 19:13:59 +01:00
|
|
|
|
2024-01-02 14:09:49 +01:00
|
|
|
vendorHash = "sha256-eHsTEb4Vff2bfADScLSkZiotSSnT1q0bexlUMaWgqbg=";
|
2023-03-14 19:13:59 +01:00
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X github.com/pulumi/pulumi/sdk/v3/go/common/version.Version=${version}"
|
|
|
|
];
|
2023-06-26 14:17:26 +02:00
|
|
|
|
|
|
|
# go: inconsistent vendoring in ...
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-03-14 19:13:59 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Golang language host plugin for Pulumi";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "pulumi-language-go";
|
2023-03-14 19:13:59 +01:00
|
|
|
homepage = "https://github.com/pulumi/pulumi/tree/master/sdk/go";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|