blob: a4587d5f00a0b57a6c2acd9ac8e5b331bfc91f49 [file] [log] [blame]
Googler555d0342019-07-18 07:40:33 -07001workspace(name = "rules_cc")
2
hlopko246bff62019-01-08 13:51:36 +01003load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4
5http_archive(
Fabian Meumertzheim66cf3042023-01-11 04:32:58 -08006 name = "bazel_skylib",
Renovate Botdaaae452023-02-09 16:37:03 +00007 sha256 = "b8a1527901774180afc798aeb28c4634bdccf19c4d98e7bdd1ce79d1fe9aaad7",
Tony Aiuto3b4549e2022-08-26 15:46:53 -04008 urls = [
Renovate Botdaaae452023-02-09 16:37:03 +00009 "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz",
10 "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz",
Fabian Meumertzheim66cf3042023-01-11 04:32:58 -080011 ],
12)
13
14http_archive(
15 name = "com_google_googletest",
16 sha256 = "81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2",
17 strip_prefix = "googletest-release-1.12.1",
18 urls = [
19 "https://mirror.bazel.build/github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz",
20 "https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz",
21 ],
22)
23
24http_archive(
25 name = "io_abseil_py",
Renovate Bot3627f4f2023-01-11 18:15:37 +000026 sha256 = "0fb3a4916a157eb48124ef309231cecdfdd96ff54adf1660b39c0d4a9790a2c0",
27 strip_prefix = "abseil-py-1.4.0",
Fabian Meumertzheim66cf3042023-01-11 04:32:58 -080028 urls = [
Renovate Bot3627f4f2023-01-11 18:15:37 +000029 "https://github.com/abseil/abseil-py/archive/refs/tags/v1.4.0.tar.gz",
Tony Aiuto3b4549e2022-08-26 15:46:53 -040030 ],
Tony Aiuto3b4549e2022-08-26 15:46:53 -040031)
32
33http_archive(
34 name = "io_bazel_rules_go",
Mend Renovate15e92032023-09-30 01:55:50 +000035 sha256 = "91585017debb61982f7054c9688857a2ad1fd823fc3f9cb05048b0025c47d023",
Tony Aiuto3b4549e2022-08-26 15:46:53 -040036 urls = [
Mend Renovate15e92032023-09-30 01:55:50 +000037 "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
38 "https://github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
Tony Aiuto3b4549e2022-08-26 15:46:53 -040039 ],
40)
41
Tony Aiuto3b4549e2022-08-26 15:46:53 -040042http_archive(
Fabian Meumertzheim66cf3042023-01-11 04:32:58 -080043 name = "platforms",
Ivo List7a67e982024-09-11 05:56:07 -070044 sha256 = "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee",
Fabian Meumertzheim66cf3042023-01-11 04:32:58 -080045 urls = [
Ivo List7a67e982024-09-11 05:56:07 -070046 "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz",
47 "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz",
Fabian Meumertzheim66cf3042023-01-11 04:32:58 -080048 ],
hlopko246bff62019-01-08 13:51:36 +010049)
50
Googler4a1c5782019-08-21 07:29:46 -070051http_archive(
Fabian Meumertzheim66cf3042023-01-11 04:32:58 -080052 name = "py_mock",
53 patch_cmds = [
54 "mkdir -p py/mock",
55 "mv mock.py py/mock/__init__.py",
56 """echo 'licenses(["notice"])' > BUILD""",
57 "touch py/BUILD",
58 """echo 'py_library(name = "mock", srcs = ["__init__.py"], visibility = ["//visibility:public"],)' > py/mock/BUILD""",
59 ],
60 sha256 = "b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f",
61 strip_prefix = "mock-1.0.1",
Googler4a1c5782019-08-21 07:29:46 -070062 urls = [
Fabian Meumertzheim66cf3042023-01-11 04:32:58 -080063 "https://mirror.bazel.build/pypi.python.org/packages/source/m/mock/mock-1.0.1.tar.gz",
64 "https://pypi.python.org/packages/source/m/mock/mock-1.0.1.tar.gz",
Googler4a1c5782019-08-21 07:29:46 -070065 ],
66)
Googler262ebec2019-10-24 07:01:01 -070067
68http_archive(
69 name = "rules_proto",
Renovate Bot0baf8242023-02-28 15:13:12 +000070 sha256 = "9a0503631679e9ab4e27d891ea60fee3e86a85654ea2048cae25516171dd260e",
71 strip_prefix = "rules_proto-e51f588e5932966ab9e63e0b0f6de6f740cf04c4",
Googler262ebec2019-10-24 07:01:01 -070072 urls = [
Renovate Bot0baf8242023-02-28 15:13:12 +000073 "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/e51f588e5932966ab9e63e0b0f6de6f740cf04c4.tar.gz",
74 "https://github.com/bazelbuild/rules_proto/archive/e51f588e5932966ab9e63e0b0f6de6f740cf04c4.tar.gz",
Googler262ebec2019-10-24 07:01:01 -070075 ],
76)
77
Fabian Meumertzheim66cf3042023-01-11 04:32:58 -080078load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
79
80bazel_skylib_workspace()
81
82load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
83
84go_rules_dependencies()
85
Googler9c1686d2023-09-12 02:16:54 -070086go_register_toolchains(version = "1.20.5")
Fabian Meumertzheim66cf3042023-01-11 04:32:58 -080087
Googler262ebec2019-10-24 07:01:01 -070088load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
89
90rules_proto_dependencies()
91
92rules_proto_toolchains()
Googler2e780ce2024-02-20 15:53:42 -080093
94http_archive(
95 name = "rules_testing",
96 sha256 = "02c62574631876a4e3b02a1820cb51167bb9cdcdea2381b2fa9d9b8b11c407c4",
97 strip_prefix = "rules_testing-0.6.0",
98 url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.6.0/rules_testing-v0.6.0.tar.gz",
99)