2019-07-18 14:40:33 +00:00
|
|
|
workspace(name = "rules_cc")
|
|
|
|
|
2019-01-08 12:51:36 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
2022-08-26 19:46:53 +00:00
|
|
|
http_archive(
|
2023-01-11 12:32:58 +00:00
|
|
|
name = "bazel_skylib",
|
2023-02-09 16:37:03 +00:00
|
|
|
sha256 = "b8a1527901774180afc798aeb28c4634bdccf19c4d98e7bdd1ce79d1fe9aaad7",
|
2022-08-26 19:46:53 +00:00
|
|
|
urls = [
|
2023-02-09 16:37:03 +00:00
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz",
|
2023-01-11 12:32:58 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "com_google_googletest",
|
|
|
|
sha256 = "81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2",
|
|
|
|
strip_prefix = "googletest-release-1.12.1",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz",
|
|
|
|
"https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "io_abseil_py",
|
2023-01-11 18:15:37 +00:00
|
|
|
sha256 = "0fb3a4916a157eb48124ef309231cecdfdd96ff54adf1660b39c0d4a9790a2c0",
|
|
|
|
strip_prefix = "abseil-py-1.4.0",
|
2023-01-11 12:32:58 +00:00
|
|
|
urls = [
|
2023-01-11 18:15:37 +00:00
|
|
|
"https://github.com/abseil/abseil-py/archive/refs/tags/v1.4.0.tar.gz",
|
2022-08-26 19:46:53 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_go",
|
2023-09-30 01:55:50 +00:00
|
|
|
sha256 = "91585017debb61982f7054c9688857a2ad1fd823fc3f9cb05048b0025c47d023",
|
2022-08-26 19:46:53 +00:00
|
|
|
urls = [
|
2023-09-30 01:55:50 +00:00
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
|
|
|
|
"https://github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
|
2022-08-26 19:46:53 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2019-01-08 12:51:36 +00:00
|
|
|
http_archive(
|
2023-01-11 12:32:58 +00:00
|
|
|
name = "platforms",
|
2023-07-28 21:37:53 +00:00
|
|
|
sha256 = "3a561c99e7bdbe9173aa653fd579fe849f1d8d67395780ab4770b1f381431d51",
|
2023-01-11 12:32:58 +00:00
|
|
|
urls = [
|
2023-07-28 21:37:53 +00:00
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz",
|
2023-01-11 12:32:58 +00:00
|
|
|
],
|
2019-01-08 12:51:36 +00:00
|
|
|
)
|
|
|
|
|
2019-08-21 14:29:46 +00:00
|
|
|
http_archive(
|
2023-01-11 12:32:58 +00:00
|
|
|
name = "py_mock",
|
|
|
|
patch_cmds = [
|
|
|
|
"mkdir -p py/mock",
|
|
|
|
"mv mock.py py/mock/__init__.py",
|
|
|
|
"""echo 'licenses(["notice"])' > BUILD""",
|
|
|
|
"touch py/BUILD",
|
|
|
|
"""echo 'py_library(name = "mock", srcs = ["__init__.py"], visibility = ["//visibility:public"],)' > py/mock/BUILD""",
|
|
|
|
],
|
|
|
|
sha256 = "b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f",
|
|
|
|
strip_prefix = "mock-1.0.1",
|
2019-08-21 14:29:46 +00:00
|
|
|
urls = [
|
2023-01-11 12:32:58 +00:00
|
|
|
"https://mirror.bazel.build/pypi.python.org/packages/source/m/mock/mock-1.0.1.tar.gz",
|
|
|
|
"https://pypi.python.org/packages/source/m/mock/mock-1.0.1.tar.gz",
|
2019-08-21 14:29:46 +00:00
|
|
|
],
|
|
|
|
)
|
2019-10-24 14:01:01 +00:00
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "rules_proto",
|
2023-02-28 15:13:12 +00:00
|
|
|
sha256 = "9a0503631679e9ab4e27d891ea60fee3e86a85654ea2048cae25516171dd260e",
|
|
|
|
strip_prefix = "rules_proto-e51f588e5932966ab9e63e0b0f6de6f740cf04c4",
|
2019-10-24 14:01:01 +00:00
|
|
|
urls = [
|
2023-02-28 15:13:12 +00:00
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/e51f588e5932966ab9e63e0b0f6de6f740cf04c4.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/rules_proto/archive/e51f588e5932966ab9e63e0b0f6de6f740cf04c4.tar.gz",
|
2019-10-24 14:01:01 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2023-01-11 12:32:58 +00:00
|
|
|
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
|
2019-10-24 14:01:01 +00:00
|
|
|
|
2023-01-11 12:32:58 +00:00
|
|
|
bazel_skylib_workspace()
|
2019-10-24 14:01:01 +00:00
|
|
|
|
2023-01-11 12:32:58 +00:00
|
|
|
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
|
2019-11-01 15:36:34 +00:00
|
|
|
|
2023-01-11 12:32:58 +00:00
|
|
|
go_rules_dependencies()
|
2020-02-12 16:01:29 +00:00
|
|
|
|
2023-09-12 09:16:54 +00:00
|
|
|
go_register_toolchains(version = "1.20.5")
|
2020-02-12 16:01:29 +00:00
|
|
|
|
2023-01-11 12:32:58 +00:00
|
|
|
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
|
|
|
|
|
|
|
|
rules_proto_dependencies()
|
|
|
|
|
|
|
|
rules_proto_toolchains()
|
2024-02-20 23:53:42 +00:00
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "rules_testing",
|
|
|
|
sha256 = "02c62574631876a4e3b02a1820cb51167bb9cdcdea2381b2fa9d9b8b11c407c4",
|
|
|
|
strip_prefix = "rules_testing-0.6.0",
|
|
|
|
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.6.0/rules_testing-v0.6.0.tar.gz",
|
|
|
|
)
|