2022-03-10 19:12:11 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pulumictl";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "0.0.30";
|
2022-03-10 19:12:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pulumi";
|
|
|
|
repo = "pulumictl";
|
|
|
|
rev = "v${version}";
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-xAlc6dYD73JZqV0QDhvqPmtGF99mqhvdBbDhWlY/4PI=";
|
2022-03-10 19:12:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|