2019-03-25 14:52:32 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bazelisk";
|
2019-06-16 15:26:04 +01:00
|
|
|
version = "0.0.7";
|
2019-03-25 14:52:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "philwo";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-06-16 15:26:04 +01:00
|
|
|
sha256 = "177x0mal960gs8578h5ir51vgn1bndm9z091110gqxb9xs9jq8pf";
|
2019-03-25 14:52:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
modSha256 = "1f73j6ryidzi3kfy3rhsqx047vzwvzaqcsl7ykhg87rn2l2s7fdl";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A user-friendly launcher for Bazel";
|
|
|
|
homepage = https://github.com/philwo/bazelisk;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ elasticdog ];
|
|
|
|
};
|
|
|
|
}
|