mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 17:34:04 +00:00
9cd03d19e3
Diff: https://github.com/buchgr/bazel-remote/compare/v2.4.1...v2.4.2 Changelog: https://github.com/buchgr/bazel-remote/releases/tag/v2.4.2
34 lines
800 B
Nix
34 lines
800 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "bazel-remote";
|
|
version = "2.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "buchgr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-bXXEvTmzsFH0dt/p26gF9XnSgFulNIiIl3lxJRyUJMg=";
|
|
};
|
|
|
|
vendorHash = "sha256-0rmqsUMwk5ytAZc94JzvZTuh0WAmQwBEWSE96yNALE0=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
doCheck = false;
|
|
|
|
ldflags = [ "-s" "-w" "-X main.gitCommit=${version}" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/buchgr/bazel-remote";
|
|
description = "A remote HTTP/1.1 cache for Bazel";
|
|
changelog = "https://github.com/buchgr/bazel-remote/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = lib.teams.bazel.members;
|
|
platforms = platforms.darwin ++ platforms.linux;
|
|
};
|
|
}
|