]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
2 | load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") | |
3 | ||
4 | def prometheus_cpp_repositories(): | |
5 | maybe( | |
6 | http_archive, | |
7 | name = "civetweb", | |
8 | strip_prefix = "civetweb-1.15", | |
9 | sha256 = "90a533422944ab327a4fbb9969f0845d0dba05354f9cacce3a5005fa59f593b9", | |
10 | urls = [ | |
11 | "https://github.com/civetweb/civetweb/archive/v1.15.tar.gz", | |
12 | ], | |
13 | build_file = "@com_github_jupp0r_prometheus_cpp//bazel:civetweb.BUILD", | |
14 | ) | |
15 | ||
16 | maybe( | |
17 | http_archive, | |
18 | name = "com_google_googletest", | |
19 | sha256 = "b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5", | |
20 | strip_prefix = "googletest-release-1.11.0", | |
21 | urls = [ | |
22 | "https://github.com/google/googletest/archive/release-1.11.0.tar.gz", | |
23 | ], | |
24 | ) | |
25 | ||
26 | maybe( | |
27 | http_archive, | |
28 | name = "com_github_curl", | |
29 | sha256 = "dab997c9b08cb4a636a03f2f7f985eaba33279c1c52692430018fae4a4878dc7", | |
30 | strip_prefix = "curl-7.80.0", | |
31 | urls = [ | |
32 | "https://github.com/curl/curl/releases/download/curl-7_80_0/curl-7.80.0.tar.gz", | |
33 | "https://curl.haxx.se/download/curl-7.80.0.tar.gz", | |
34 | ], | |
35 | build_file = "@com_github_jupp0r_prometheus_cpp//bazel:curl.BUILD", | |
36 | ) | |
37 | ||
38 | maybe( | |
39 | http_archive, | |
40 | name = "com_github_google_benchmark", | |
41 | sha256 = "1f71c72ce08d2c1310011ea6436b31e39ccab8c2db94186d26657d41747c85d6", | |
42 | strip_prefix = "benchmark-1.6.0", | |
43 | urls = [ | |
44 | "https://github.com/google/benchmark/archive/v1.6.0.tar.gz", | |
45 | ], | |
46 | ) | |
47 | ||
48 | maybe( | |
49 | http_archive, | |
50 | name = "net_zlib_zlib", | |
51 | sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1", | |
52 | strip_prefix = "zlib-1.2.11", | |
53 | urls = [ | |
54 | "https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz", | |
55 | "https://zlib.net/zlib-1.2.11.tar.gz", | |
56 | ], | |
57 | build_file = "@com_github_jupp0r_prometheus_cpp//bazel:zlib.BUILD", | |
58 | ) |