nixpkgs/pkgs/tools/admin/pulumi-packages/pulumi-language-go.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
649 B
Nix
Raw Permalink Normal View History

{ lib
, buildGoModule
, pulumi
}:
buildGoModule rec {
pname = "pulumi-language-go";
inherit (pulumi) version src;
sourceRoot = "${src.name}/sdk/go/pulumi-language-go";
2024-01-02 14:09:49 +01:00
vendorHash = "sha256-eHsTEb4Vff2bfADScLSkZiotSSnT1q0bexlUMaWgqbg=";
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";
mainProgram = "pulumi-language-go";
homepage = "https://github.com/pulumi/pulumi/tree/master/sdk/go";
license = licenses.asl20;
};
}