nixpkgs/pkgs/development/tools/bazelisk/default.nix

23 lines
570 B
Nix
Raw Normal View History

2019-03-25 07:52:32 -07:00
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "bazelisk";
2019-04-11 07:07:00 -07:00
version = "0.0.4";
2019-03-25 07:52:32 -07:00
src = fetchFromGitHub {
owner = "philwo";
repo = pname;
rev = "v${version}";
2019-04-11 07:07:00 -07:00
sha256 = "1hi4jmkqy1fjn91q72qlfvm63plz5jqb4hw4c1qv9ddqjgwrmxr3";
2019-03-25 07:52:32 -07: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 ];
};
}