2018-08-30 16:32:03 +00:00
|
|
|
""" Remote repositories, used by this project itself """
|
|
|
|
|
2018-08-27 12:56:16 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
|
|
|
def repositories():
|
|
|
|
_all_content = """filegroup(name = "all", srcs = glob(["**"]), visibility = ["//visibility:public"])"""
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "bazel_skylib",
|
2020-03-05 15:07:19 +00:00
|
|
|
sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
|
|
|
|
],
|
2018-08-27 12:56:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "ninja_build",
|
|
|
|
build_file_content = _all_content,
|
2020-06-08 20:13:18 +00:00
|
|
|
sha256 = "3810318b08489435f8efc19c05525e80a993af5a55baa0dfeae0465a9d45f99f",
|
|
|
|
strip_prefix = "ninja-1.10.0",
|
2018-08-27 12:56:16 +00:00
|
|
|
urls = [
|
2020-06-08 20:13:18 +00:00
|
|
|
"https://github.com/ninja-build/ninja/archive/v1.10.0.tar.gz",
|
2018-08-27 12:56:16 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "cmake",
|
|
|
|
build_file_content = _all_content,
|
2020-06-08 19:48:25 +00:00
|
|
|
sha256 = "fc77324c4f820a09052a7785549b8035ff8d3461ded5bbd80d252ae7d1cd3aa5",
|
|
|
|
strip_prefix = "cmake-3.17.2",
|
2018-08-27 12:56:16 +00:00
|
|
|
urls = [
|
2020-06-08 19:48:25 +00:00
|
|
|
"https://github.com/Kitware/CMake/releases/download/v3.17.2/cmake-3.17.2.tar.gz",
|
2018-08-27 12:56:16 +00:00
|
|
|
],
|
|
|
|
)
|