depot/third_party/nixpkgs/pkgs/tools/admin/pulumi-packages/pulumi-language-go.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

27 lines
609 B
Nix

{ lib
, buildGoModule
, pulumi
}:
buildGoModule rec {
pname = "pulumi-language-go";
inherit (pulumi) version src;
sourceRoot = "${src.name}/sdk/go/pulumi-language-go";
vendorHash = "sha256-6/umLzw7HMplP/cJknBsWmiwAnc+YM4tIz4Zl2QMTOQ=";
ldflags = [
"-s"
"-w"
"-X github.com/pulumi/pulumi/sdk/v3/go/common/version.Version=${version}"
];
# go: inconsistent vendoring in ...
doCheck = false;
meta = with lib; {
description = "Golang language host plugin for Pulumi";
homepage = "https://github.com/pulumi/pulumi/tree/master/sdk/go";
license = licenses.asl20;
};
}