1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 11:32:03 +00:00
nixpkgs/pkgs/development/tools/bazelisk/default.nix

26 lines
662 B
Nix
Raw Normal View History

2019-03-25 14:52:32 +00:00
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "bazelisk";
2019-08-09 06:26:15 +01:00
version = "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-08-09 06:26:15 +01:00
sha256 = "0516rx3qx6nxavy0a1qxjx2rcvdfb2ggig0q4n7fkmrxbnwxh2c9";
2019-03-25 14:52:32 +00:00
};
modSha256 = "1f73j6ryidzi3kfy3rhsqx047vzwvzaqcsl7ykhg87rn2l2s7fdl";
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 ];
};
}