xref: /aosp_15_r20/external/pigweed/pw_grpc/deps.bzl (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1# Copyright 2024 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14"""pw_grpc go dependencies"""
15
16load("@bazel_gazelle//:deps.bzl", "go_repository")
17
18def pw_grpc_deps():
19    """pw_grpc go dependencies"""
20    go_repository(
21        name = "com_github_golang_protobuf",
22        importpath = "github.com/golang/protobuf",
23        sum = "h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=",
24        version = "v1.5.3",
25    )
26    go_repository(
27        name = "org_golang_google_genproto_googleapis_rpc",
28        importpath = "google.golang.org/genproto/googleapis/rpc",
29        sum = "h1:Jyp0Hsi0bmHXG6k9eATXoYtjd6e2UzZ1SCn/wIupY14=",
30        version = "v0.0.0-20231106174013-bbf56f31fb17",
31    )
32    go_repository(
33        name = "org_golang_google_grpc",
34        importpath = "google.golang.org/grpc",
35        sum = "h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU=",
36        version = "v1.60.1",
37    )
38    go_repository(
39        name = "org_golang_google_grpc_examples",
40        importpath = "google.golang.org/grpc/examples",
41        sum = "h1:HY3t6T8BJhUh/JRJxa9tVlVzP71cxhQMueOPYaumoq0=",
42        version = "v0.0.0-20231219184249-33a60a85816b",
43    )
44    go_repository(
45        name = "org_golang_google_protobuf",
46        importpath = "google.golang.org/protobuf",
47        sum = "h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=",
48        version = "v1.31.0",
49    )
50    go_repository(
51        name = "org_golang_x_net",
52        importpath = "golang.org/x/net",
53        sum = "h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg=",
54        version = "v0.18.0",
55    )
56    go_repository(
57        name = "org_golang_x_sys",
58        importpath = "golang.org/x/sys",
59        sum = "h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q=",
60        version = "v0.14.0",
61    )
62    go_repository(
63        name = "org_golang_x_text",
64        importpath = "golang.org/x/text",
65        sum = "h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=",
66        version = "v0.14.0",
67    )
68