2019-03-25 14:52:32 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bazelisk";
|
2019-10-19 10:20:00 +01:00
|
|
|
version = "1.1.0";
|
2019-03-25 14:52:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-06-25 18:15:38 +01:00
|
|
|
owner = "bazelbuild";
|
2019-03-25 14:52:32 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-10-19 10:20:00 +01:00
|
|
|
sha256 = "1pv113sk7hfxp4m2rcriqqp6mbbzcfdr0yrx4g1yiam93rx34yb7";
|
2019-03-25 14:52:32 +00:00
|
|
|
};
|
|
|
|
|
2019-10-19 10:20:00 +01:00
|
|
|
modSha256 = "0gs8y618izqi0gfa46jqh79yj8lzsmc6yj95fakhp2f5i8v1xrmx";
|
2019-03-25 14:52:32 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A user-friendly launcher for Bazel";
|
2019-06-25 18:15:38 +01:00
|
|
|
longDescription = ''
|
|
|
|
BEWARE: This package does not work on NixOS.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/bazelbuild/bazelisk";
|
2019-03-25 14:52:32 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ elasticdog ];
|
|
|
|
};
|
|
|
|
}
|