2022-03-10 19:12:11 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pulumictl";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.0.43";
|
2022-03-10 19:12:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pulumi";
|
|
|
|
repo = "pulumictl";
|
|
|
|
rev = "v${version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-iz0ahzR0+CpNZSLbR9zyIRS5k3y1GYbh7BPif9I6n4k=";
|
2022-03-10 19:12:11 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
vendorHash = "sha256-WzfTS68YIpoZYbm6i0USxXyEyR4px+hrNRbsCTXdJsk=";
|
2022-03-10 19:12:11 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|