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

26 lines
664 B
Nix
Raw Normal View History

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