3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/bazelisk/default.nix

26 lines
664 B
Nix
Raw Normal View History

2019-03-25 14:52:32 +00:00
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "bazelisk";
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}";
sha256 = "1pv113sk7hfxp4m2rcriqqp6mbbzcfdr0yrx4g1yiam93rx34yb7";
2019-03-25 14:52:32 +00: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 ];
};
}