2022-03-10 19:12:11 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pulumictl";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.0.46";
|
2022-03-10 19:12:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pulumi";
|
|
|
|
repo = "pulumictl";
|
|
|
|
rev = "v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-7A6dx/5091FIQ2AB6C+Z2CjhTBx2e6iB21Du2u9EiHY=";
|
2022-03-10 19:12:11 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
vendorHash = "sha256-Wktr3TXSIIzbkiT3Gk5i4K58gahnxySi6ht30li+Z0o=";
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pulumictl";
|
2022-03-10 19:12:11 +00:00
|
|
|
homepage = "https://github.com/pulumi/pulumictl";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ vincentbernat ];
|
|
|
|
};
|
|
|
|
}
|