1workspace(name = "rules_cc") 2 3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 4 5http_archive( 6 name = "bazel_skylib", 7 sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f", 8 urls = [ 9 "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", 10 "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", 11 ], 12) 13 14http_archive( 15 name = "platforms", 16 sha256 = "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee", 17 urls = [ 18 "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz", 19 "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz", 20 ], 21) 22 23load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") 24 25bazel_skylib_workspace() 26 27http_archive( 28 name = "rules_shell", 29 sha256 = "410e8ff32e018b9efd2743507e7595c26e2628567c42224411ff533b57d27c28", 30 strip_prefix = "rules_shell-0.2.0", 31 url = "https://github.com/bazelbuild/rules_shell/releases/download/v0.2.0/rules_shell-v0.2.0.tar.gz", 32) 33 34load("@rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains") 35 36rules_shell_dependencies() 37 38rules_shell_toolchains() 39 40http_archive( 41 name = "rules_testing", 42 sha256 = "02c62574631876a4e3b02a1820cb51167bb9cdcdea2381b2fa9d9b8b11c407c4", 43 strip_prefix = "rules_testing-0.6.0", 44 url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.6.0/rules_testing-v0.6.0.tar.gz", 45) 46 47http_archive( 48 name = "com_google_protobuf", 49 sha256 = "da288bf1daa6c04d03a9051781caa52aceb9163586bff9aa6cfb12f69b9395aa", 50 strip_prefix = "protobuf-27.0", 51 url = "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protobuf-27.0.tar.gz", 52) 53