depot/third_party/nixpkgs/pkgs/tools/admin/pulumi-packages/pulumi-language-go.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

27 lines
608 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-6JnRPns+qOLXP2RBjsgq4v6nuLn3uX8jF4+uinr2Wt8";
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;
};
}