-
Notifications
You must be signed in to change notification settings - Fork 0
/
MODULE.bazel
41 lines (36 loc) · 1.52 KB
/
MODULE.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""
MODULE.bazel file for the jsonrpc module
"""
module(
name = "jsonrpc_cpp_lib",
version = "1.0.0",
)
# Dependencies from the Bazel Central Registry
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "nlohmann_json", version = "3.11.3")
bazel_dep(name = "spdlog", version = "1.14.1")
bazel_dep(name = "asio", version = "1.28.2")
bazel_dep(name = "catch2", version = "3.6.0")
# Dependency using traditional HTTP archive
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "thread_pool",
build_file = "//third_party/thread_pool:BUILD.bazel",
sha256 = "be7abecbc420bb87919eeef729b13ff7c29d5ce547bdae284923296c695415bd",
strip_prefix = "thread-pool-4.1.0",
urls = ["https://github.com/bshoshany/thread-pool/archive/refs/tags/v4.1.0.tar.gz"],
)
http_archive(
name = "bazel_clang_tidy",
urls = ["https://github.com/erenon/bazel_clang_tidy/archive/43bef6852a433f3b2a6b001daecc8bc91d791b92.zip"],
strip_prefix = "bazel_clang_tidy-43bef6852a433f3b2a6b001daecc8bc91d791b92",
sha256 = "ebc23027a2e42035b6797235f6bb1400ddeb7a439c9dda1caa0fa7a06fd615e3",
)
# Hedron's Compile Commands Extractor for Bazel
# https://github.com/hedronvision/bazel-compile-commands-extractor
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
git_override(
module_name = "hedron_compile_commands",
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
commit = "1e08f8e0507b6b6b1f4416a9a22cf5c28beaba93",
)