biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / bazelisk / default.nix
blob8ca8b416c7023554e30f3928c8523c91d6da9020
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "bazelisk";
5   version = "1.19.0";
7   src = fetchFromGitHub {
8     owner = "bazelbuild";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-no1+sQ+8Ead1diCYytC3MXVA68SuWWxt40OFVrGWYdQ=";
12   };
14   vendorHash = "sha256-hjV7Pc3DFExSCsA0jKVxb1GxoXQ7LRFGuot3V0IHG58=";
16   doCheck = false;
18   ldflags = [ "-s" "-w" "-X main.BazeliskVersion=${version}" ];
20   meta = with lib; {
21     description = "A user-friendly launcher for Bazel";
22     mainProgram = "bazelisk";
23     longDescription = ''
24       BEWARE: This package does not work on NixOS.
25     '';
26     homepage = "https://github.com/bazelbuild/bazelisk";
27     changelog = "https://github.com/bazelbuild/bazelisk/releases/tag/v${version}";
28     license = licenses.asl20;
29     maintainers = with maintainers; [ elasticdog ];
30   };