nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 28 lines 716 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "pulumictl"; 5 version = "0.0.30"; 6 7 src = fetchFromGitHub { 8 owner = "pulumi"; 9 repo = "pulumictl"; 10 rev = "v${version}"; 11 sha256 = "sha256-xAlc6dYD73JZqV0QDhvqPmtGF99mqhvdBbDhWlY/4PI="; 12 }; 13 14 vendorSha256 = "sha256-xalfnLc6bPBvm2B42+FzpgrOH541HMWmNHChveI792s="; 15 16 ldflags = [ 17 "-s" "-w" "-X=github.com/pulumi/pulumictl/pkg/version.Version=${src.rev}" 18 ]; 19 20 subPackages = [ "cmd/pulumictl" ]; 21 22 meta = with lib; { 23 description = "Swiss Army Knife for Pulumi Development"; 24 homepage = "https://github.com/pulumi/pulumictl"; 25 license = licenses.asl20; 26 maintainers = with maintainers; [ vincentbernat ]; 27 }; 28}