depot/third_party/nixpkgs/pkgs/development/tools/pulumictl/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

28 lines
714 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pulumictl";
version = "0.0.41";
src = fetchFromGitHub {
owner = "pulumi";
repo = "pulumictl";
rev = "v${version}";
sha256 = "sha256-6QBE6+wJ9MQXey9nXaJn69uVUhIVlWMdH9ROiMi7bZk=";
};
vendorHash = "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 ];
};
}