depot/third_party/nixpkgs/pkgs/development/tools/pulumictl/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

28 lines
714 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pulumictl";
version = "0.0.45";
src = fetchFromGitHub {
owner = "pulumi";
repo = "pulumictl";
rev = "v${version}";
sha256 = "sha256-DDuzJcYfa0zHqLdyoZ/Vi14+0C6ucgkmb5ndrhTlOik=";
};
vendorHash = "sha256-XOgHvOaHExazQfsu1brYDq1o2fUh6dZeJlpVhCQX9ns=";
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 ];
};
}