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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
741 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-03-25 14:52:32 +00:00
buildGoModule rec {
pname = "bazelisk";
version = "1.11.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 = "sha256-9J49+1fI3wmHQqYgdoGgaAuVMA9eG7wrFe7dQEectvI=";
2019-03-25 14:52:32 +00:00
};
vendorSha256 = "sha256-+zJEB9FyVvxHdwR/dAn56jrMbgVBhlbziVFe2WCQFfE=";
2019-03-25 14:52:32 +00:00
doCheck = false;
2021-08-26 07:45:51 +01:00
ldflags = [ "-s" "-w" "-X main.BazeliskVersion=${version}" ];
meta = with lib; {
2019-03-25 14:52:32 +00:00
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 ];
};
2020-06-05 10:20:00 +01:00
}