1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-no1+sQ+8Ead1diCYytC3MXVA68SuWWxt40OFVrGWYdQ=";
14 vendorHash = "sha256-hjV7Pc3DFExSCsA0jKVxb1GxoXQ7LRFGuot3V0IHG58=";
18 ldflags = [ "-s" "-w" "-X main.BazeliskVersion=${version}" ];
21 description = "A user-friendly launcher for Bazel";
22 mainProgram = "bazelisk";
24 BEWARE: This package does not work on NixOS.
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 ];