github.com/stackb/rules_proto@v0.0.0-20240221195024-5428336c51f1/deps/grpc_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_deps():
    12      "grpc-related deps"
    13  
    14      build_bazel_rules_swift()  # via com_github_grpc_grpc
    15      bazel_skylib()  # 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 build_bazel_rules_swift():
    22      _maybe(
    23          http_archive,
    24          name = "build_bazel_rules_swift",
    25          sha256 = "1f5499bb053736cda8905d89aac42e98011bbe9ca93b774a40c04759f045d7bf",
    26          strip_prefix = "rules_swift-dadd12190182530cf6f91ca7f9e70391644ce502",
    27          urls = [
    28              "https://github.com/bazelbuild/rules_swift/archive/dadd12190182530cf6f91ca7f9e70391644ce502.tar.gz",
    29          ],
    30      )
    31  
    32  def bazel_skylib():
    33      _maybe(
    34          http_archive,
    35          name = "bazel_skylib",
    36          sha256 = "ebdf850bfef28d923a2cc67ddca86355a449b5e4f38b0a70e584dc24e5984aa6",
    37          strip_prefix = "bazel-skylib-f80bc733d4b9f83d427ce3442be2e07427b2cc8d",
    38          urls = [
    39              "https://github.com/bazelbuild/bazel-skylib/archive/f80bc733d4b9f83d427ce3442be2e07427b2cc8d.tar.gz",
    40          ],
    41      )
    42  
    43  def rules_python():
    44      _maybe(
    45          http_archive,
    46          name = "rules_python",
    47          sha256 = "8cc0ad31c8fc699a49ad31628273529ef8929ded0a0859a3d841ce711a9a90d5",
    48          strip_prefix = "rules_python-c7e068d38e2fec1d899e1c150e372f205c220e27",
    49          urls = [
    50              "https://github.com/bazelbuild/rules_python/archive/c7e068d38e2fec1d899e1c150e372f205c220e27.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 = "d0f5f605d0d656007ce6c8b5a82df3037e1d8fe8b121ed42e536f569dec16113",
    72          strip_prefix = "protobuf-3.14.0",
    73          urls = [
    74              "https://github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz",
    75          ],
    76      )
    77  
    78  def com_github_grpc_grpc():
    79      _maybe(
    80          http_archive,
    81          name = "com_github_grpc_grpc",
    82          sha256 = "e6c6b1ac9ba2257c93e49c98ef4fc96b2e2a1cdd90782a919f60e23fa8c2428b",
    83          strip_prefix = "grpc-5f759fcd1f602b38004b948b071f8b5726a9a4b1",
    84          urls = [
    85              "https://github.com/grpc/grpc/archive/5f759fcd1f602b38004b948b071f8b5726a9a4b1.tar.gz",
    86          ],
    87      )