2023-01-30 11:15:59 -05:00
|
|
|
"""bazel-zig-cc build rules"""
|
|
|
|
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
|
|
|
def zig_cc_deps():
|
|
|
|
"""Loads the dependencies for bazel-zig-cc."""
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "bazel_skylib",
|
|
|
|
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2023-03-21 09:29:30 -04:00
|
|
|
# TODO(malt3): Update to a release version once the next release is out.
|
|
|
|
# Upgraded to work around https://github.com/uber/bazel-zig-cc/issues/22
|
|
|
|
# See also https://github.com/uber/bazel-zig-cc/pull/23
|
2023-01-30 11:15:59 -05:00
|
|
|
http_archive(
|
|
|
|
name = "bazel-zig-cc",
|
2023-03-21 11:27:58 -04:00
|
|
|
sha256 = "bea372f7f9bd8541f7b0a152c76c7b9396201c36a0ed229b36c48301815c3141",
|
|
|
|
strip_prefix = "bazel-zig-cc-f3e4542bd62f4aef794a3d184140a9d30b8fadb8",
|
|
|
|
urls = ["https://github.com/uber/bazel-zig-cc/archive/f3e4542bd62f4aef794a3d184140a9d30b8fadb8.tar.gz"],
|
2023-01-30 11:15:59 -05:00
|
|
|
)
|