depot/third_party/nixpkgs/pkgs/development/tools/pulumictl/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

28 lines
716 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pulumictl";
version = "0.0.32";
src = fetchFromGitHub {
owner = "pulumi";
repo = "pulumictl";
rev = "v${version}";
sha256 = "sha256-CZ0DnQUnyj8aoesFymc+Uhv+3vdQhdxb2YHElAyqGWE=";
};
vendorSha256 = "sha256-xalfnLc6bPBvm2B42+FzpgrOH541HMWmNHChveI792s=";
ldflags = [
"-s" "-w" "-X=github.com/pulumi/pulumictl/pkg/version.Version=${src.rev}"
];
subPackages = [ "cmd/pulumictl" ];
meta = with lib; {
description = "Swiss Army Knife for Pulumi Development";
homepage = "https://github.com/pulumi/pulumictl";
license = licenses.asl20;
maintainers = with maintainers; [ vincentbernat ];
};
}