Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildGoModule 2, fetchFromGitHub 3, lib 4}: 5 6buildGoModule rec { 7 pname = "bazel-remote"; 8 version = "2.4.0"; 9 10 src = fetchFromGitHub { 11 owner = "buchgr"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "sha256-aC1I+33jEmgjtidA5CQXpwePsavwlx97abpsc68RkBI="; 15 }; 16 17 vendorHash = "sha256-4vNRtFqtzoDHjDQwPe1/sJNzcCU+b7XHgQ5YqEzNhjI="; 18 19 doCheck = false; 20 21 meta = with lib; { 22 homepage = "https://github.com/buchgr/bazel-remote"; 23 description = "A remote HTTP/1.1 cache for Bazel"; 24 license = licenses.asl20; 25 maintainers = lib.teams.bazel.members; 26 platforms = platforms.darwin ++ platforms.linux; 27 }; 28}