2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-12-03 02:52:58 +00:00
rules_foreign_cc/for_workspace/repositories.bzl
2018-08-30 18:32:03 +02:00

43 lines
1.3 KiB
Python

""" Remote repositories, used by this project itself """
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",
build_file_content = _all_content,
sha256 = "b5f6abe419da897b7901f90cbab08af958b97a8f3575b0d3dd062ac7ce78541f",
strip_prefix = "bazel-skylib-0.5.0",
type = "tar.gz",
urls = [
"https://github.com/bazelbuild/bazel-skylib/archive/0.5.0.tar.gz",
],
)
http_archive(
name = "build_bazel_rules_apple",
strip_prefix = "rules_apple-0.7.0",
url = "https://github.com/bazelbuild/rules_apple/archive/0.7.0.tar.gz",
)
http_archive(
name = "ninja_build",
build_file_content = _all_content,
sha256 = "86b8700c3d0880c2b44c2ff67ce42774aaf8c28cbf57725cb881569288c1c6f4",
strip_prefix = "ninja-1.8.2",
urls = [
"https://github.com/ninja-build/ninja/archive/v1.8.2.tar.gz",
],
)
http_archive(
name = "cmake",
build_file_content = _all_content,
strip_prefix = "CMake-3.12.1",
urls = [
"https://github.com/Kitware/CMake/archive/v3.12.1.tar.gz",
],
)