forked from jesec/libtorrent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibtorrent_repos.bzl
30 lines (26 loc) · 1.17 KB
/
libtorrent_repos.bzl
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
"""Repositories needed to compile the libtorrent as a 3rd-party consumer."""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
def libtorrent_repos():
maybe(
http_archive,
name = "boringssl",
sha256 = "efeba07af99d2fc1908d54f6caad1bfec95fa3e235e145233d3e6bdb79379c51",
strip_prefix = "boringssl-8f90ba425bdcd6a90b88baabfe58b1997f1893f3",
urls = ["https://github.com/google/boringssl/archive/8f90ba425bdcd6a90b88baabfe58b1997f1893f3.zip"],
)
maybe(
http_archive,
name = "zlib",
build_file = "@libtorrent//:third_party/zlib.BUILD",
sha256 = "8258b75a72303b661a238047cb348203d88d9dddf85d480ed885f375916fcab6",
strip_prefix = "zlib-ng-2.0.6",
urls = ["https://github.com/zlib-ng/zlib-ng/archive/refs/tags/2.0.6.tar.gz"],
)
maybe(
http_archive,
name = "rules_foreign_cc",
sha256 = "6041f1374ff32ba711564374ad8e007aef77f71561a7ce784123b9b4b88614fc",
strip_prefix = "rules_foreign_cc-0.8.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.8.0.tar.gz",
)