| workspace(name = "rules_cc") |
| |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| http_archive( |
| name = "bazel_skylib", |
| sha256 = "b8a1527901774180afc798aeb28c4634bdccf19c4d98e7bdd1ce79d1fe9aaad7", |
| urls = [ |
| "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", |
| ], |
| ) |
| |
| 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", |
| sha256 = "0fb3a4916a157eb48124ef309231cecdfdd96ff54adf1660b39c0d4a9790a2c0", |
| strip_prefix = "abseil-py-1.4.0", |
| urls = [ |
| "https://github.com/abseil/abseil-py/archive/refs/tags/v1.4.0.tar.gz", |
| ], |
| ) |
| |
| http_archive( |
| name = "io_bazel_rules_go", |
| sha256 = "dd926a88a564a9246713a9c00b35315f54cbd46b31a26d5d8fb264c07045f05d", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.38.1/rules_go-v0.38.1.zip", |
| "https://github.com/bazelbuild/rules_go/releases/download/v0.38.1/rules_go-v0.38.1.zip", |
| ], |
| ) |
| |
| http_archive( |
| name = "platforms", |
| sha256 = "5308fc1d8865406a49427ba24a9ab53087f17f5266a7aabbfc28823f3916e1ca", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.6/platforms-0.0.6.tar.gz", |
| "https://github.com/bazelbuild/platforms/releases/download/0.0.6/platforms-0.0.6.tar.gz", |
| ], |
| ) |
| |
| http_archive( |
| 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", |
| urls = [ |
| "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", |
| ], |
| ) |
| |
| http_archive( |
| name = "rules_proto", |
| sha256 = "9eba2da1a7ed60c300ca19640801bcb591c6e332424199e7b23ebca7baf93c87", |
| strip_prefix = "rules_proto-33aba33e1bec7e75487676c792e5690937933ab7", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/33aba33e1bec7e75487676c792e5690937933ab7.tar.gz", |
| "https://github.com/bazelbuild/rules_proto/archive/33aba33e1bec7e75487676c792e5690937933ab7.tar.gz", |
| ], |
| ) |
| |
| load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") |
| |
| bazel_skylib_workspace() |
| |
| load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") |
| |
| go_rules_dependencies() |
| |
| go_register_toolchains(version = "1.19.4") |
| |
| load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") |
| |
| rules_proto_dependencies() |
| |
| rules_proto_toolchains() |