biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / pulumictl / default.nix
blobb96c87bdf32cff8c089ce4caeb599bcdf85f9a1a
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "pulumictl";
5   version = "0.0.46";
7   src = fetchFromGitHub {
8     owner = "pulumi";
9     repo = "pulumictl";
10     rev = "v${version}";
11     sha256 = "sha256-7A6dx/5091FIQ2AB6C+Z2CjhTBx2e6iB21Du2u9EiHY=";
12   };
14   vendorHash = "sha256-Wktr3TXSIIzbkiT3Gk5i4K58gahnxySi6ht30li+Z0o=";
16   ldflags = [
17     "-s" "-w" "-X=github.com/pulumi/pulumictl/pkg/version.Version=${src.rev}"
18   ];
20   subPackages = [ "cmd/pulumictl" ];
22   meta = with lib; {
23     description = "Swiss Army Knife for Pulumi Development";
24     mainProgram = "pulumictl";
25     homepage = "https://github.com/pulumi/pulumictl";
26     license = licenses.asl20;
27     maintainers = with maintainers; [ vincentbernat ];
28   };