depot/third_party/nixpkgs/pkgs/development/tools/pulumictl/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

28 lines
716 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pulumictl";
version = "0.0.38";
src = fetchFromGitHub {
owner = "pulumi";
repo = "pulumictl";
rev = "v${version}";
sha256 = "sha256-j7wuzyGko3agDO7L8MUaAegjE4yj4KzQEcxWLY39BhQ=";
};
vendorSha256 = "sha256-WzfTS68YIpoZYbm6i0USxXyEyR4px+hrNRbsCTXdJsk=";
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 ];
};
}