github.com/stackb/rules_proto@v0.0.0-20240221195024-5428336c51f1/deps/grpc_core_deps.bzl (about)

     1  """
     2  GENERATED FILE - DO NOT EDIT (created via @build_stack_rules_proto//cmd/depsgen)
     3  """
     4  
     5  load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
     6  
     7  def _maybe(repo_rule, name, **kwargs):
     8      if name not in native.existing_rules():
     9          repo_rule(name = name, **kwargs)
    10  
    11  def grpc_core_deps():
    12      """grpc_core dependency macro
    13      """
    14      bazel_skylib()  # via com_google_protobuf
    15      rules_pkg()  # via com_google_protobuf
    16      rules_python()  # via com_google_protobuf
    17      zlib()  # via com_google_protobuf
    18      com_google_protobuf()  # via com_github_grpc_grpc
    19      com_github_grpc_grpc()  # via <TOP>
    20  
    21  def bazel_skylib():
    22      _maybe(
    23          http_archive,
    24          name = "bazel_skylib",
    25          sha256 = "118e313990135890ee4cc8504e32929844f9578804a1b2f571d69b1dd080cfb8",
    26          strip_prefix = "bazel-skylib-1.5.0",
    27          urls = [
    28              "https://github.com/bazelbuild/bazel-skylib/archive/1.5.0.tar.gz",
    29          ],
    30      )
    31  
    32  def rules_pkg():
    33      _maybe(
    34          http_archive,
    35          name = "rules_pkg",
    36          sha256 = "de4cf980e4c5eba24f3897016a71daec6b8d3c36f9ecdfe4e6dbcabb5017ade0",
    37          strip_prefix = "rules_pkg-ea8c75a15c4ac9562da29f3d9a633decb384d4a3",
    38          urls = [
    39              "https://github.com/bazelbuild/rules_pkg/archive/ea8c75a15c4ac9562da29f3d9a633decb384d4a3.tar.gz",
    40          ],
    41      )
    42  
    43  def rules_python():
    44      _maybe(
    45          http_archive,
    46          name = "rules_python",
    47          sha256 = "e85ae30de33625a63eca7fc40a94fea845e641888e52f32b6beea91e8b1b2793",
    48          strip_prefix = "rules_python-0.27.1",
    49          urls = [
    50              "https://github.com/bazelbuild/rules_python/archive/0.27.1.tar.gz",
    51          ],
    52      )
    53  
    54  def zlib():
    55      _maybe(
    56          http_archive,
    57          name = "zlib",
    58          sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
    59          strip_prefix = "zlib-1.2.11",
    60          urls = [
    61              "https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz",
    62              "https://zlib.net/zlib-1.2.11.tar.gz",
    63          ],
    64          build_file = "@build_stack_rules_proto//third_party:zlib.BUILD",
    65      )
    66  
    67  def com_google_protobuf():
    68      _maybe(
    69          http_archive,
    70          name = "com_google_protobuf",
    71          sha256 = "d594b561fb41bf243233d8f411c7f2b7d913e5c9c1be4ca439baf7e48384c893",
    72          strip_prefix = "protobuf-f0dc78d7e6e331b8c6bb2d5283e06aa26883ca7c",
    73          urls = [
    74              "https://github.com/protocolbuffers/protobuf/archive/f0dc78d7e6e331b8c6bb2d5283e06aa26883ca7c.tar.gz",
    75          ],
    76      )
    77  
    78  def com_github_grpc_grpc():
    79      _maybe(
    80          http_archive,
    81          name = "com_github_grpc_grpc",
    82          sha256 = "17e4e1b100657b88027721220cbfb694d86c4b807e9257eaf2fb2d273b41b1b1",
    83          strip_prefix = "grpc-1.54.3",
    84          urls = [
    85              "https://github.com/grpc/grpc/archive/v1.54.3.tar.gz",
    86          ],
    87      )