blob: 80ec4c4f448d2856049c018365181eb7877c9dba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "bazelisk";
version = "1.4.0";
src = fetchFromGitHub {
owner = "bazelbuild";
repo = pname;
rev = "v${version}";
sha256 = "14zp0bi0p1rfbx1pxi5y28ndxwbqbvfx0pvy3jh1mnx5qsii1gcq";
};
modSha256 = "1w8k659ifapcxbbim0nf7wd7w10bhlagc33q08izh84gcgsh0yyz";
buildFlagsArray = [ "-ldflags=-s -w -X main.BazeliskVersion=${version}" ];
meta = with stdenv.lib; {
description = "A user-friendly launcher for Bazel";
longDescription = ''
BEWARE: This package does not work on NixOS.
'';
homepage = "https://github.com/bazelbuild/bazelisk";
license = licenses.asl20;
maintainers = with maintainers; [ elasticdog ];
};
}
|