xref: /aosp_15_r20/external/bazelbuild-rules_python/gazelle/deps.bzl (revision 60517a1edbc8ecf509223e9af94a7adec7d736b8)
1# Copyright 2023 The Bazel Authors. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     http://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,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15"This file managed by `bazel run //:gazelle_update_repos`"
16
17load(
18    "@bazel_gazelle//:deps.bzl",
19    _go_repository = "go_repository",
20)
21load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
22
23def go_repository(name, **kwargs):
24    if name not in native.existing_rules():
25        _go_repository(name = name, **kwargs)
26
27def python_stdlib_list_deps():
28    "Fetch python stdlib list dependencies"
29    http_archive(
30        name = "python_stdlib_list",
31        build_file_content = """exports_files(glob(["stdlib_list/lists/*.txt"]))""",
32        sha256 = "3f6fc8fba0a99ce8fa76c1b794a24f38962f6275ea9d5cfb43a874abe472571e",
33        strip_prefix = "stdlib-list-0.10.0",
34        url = "https://github.com/pypi/stdlib-list/releases/download/v0.10.0/v0.10.0.tar.gz",
35    )
36
37def gazelle_deps():
38    go_deps()
39    python_stdlib_list_deps()
40
41def go_deps():
42    "Fetch go dependencies"
43    go_repository(
44        name = "co_honnef_go_tools",
45        importpath = "honnef.co/go/tools",
46        sum = "h1:/hemPrYIhOhy8zYrNj+069zDB68us2sMGsfkFJO0iZs=",
47        version = "v0.0.0-20190523083050-ea95bdfd59fc",
48    )
49    go_repository(
50        name = "com_github_bazelbuild_bazel_gazelle",
51        importpath = "github.com/bazelbuild/bazel-gazelle",
52        sum = "h1:ROyUyUHzoEdvoOs1e0haxJx1l5EjZX6AOqiKdVlaBbg=",
53        version = "v0.31.1",
54    )
55
56    go_repository(
57        name = "com_github_bazelbuild_buildtools",
58        build_naming_convention = "go_default_library",
59        importpath = "github.com/bazelbuild/buildtools",
60        sum = "h1:HTepWP/jhtWTC1gvK0RnvKCgjh4gLqiwaOwGozAXcbw=",
61        version = "v0.0.0-20231103205921-433ea8554e82",
62    )
63    go_repository(
64        name = "com_github_bazelbuild_rules_go",
65        importpath = "github.com/bazelbuild/rules_go",
66        sum = "h1:JzlRxsFNhlX+g4drDRPhIaU5H5LnI978wdMJ0vK4I+k=",
67        version = "v0.41.0",
68    )
69
70    go_repository(
71        name = "com_github_bmatcuk_doublestar_v4",
72        importpath = "github.com/bmatcuk/doublestar/v4",
73        sum = "h1:FH9SifrbvJhnlQpztAx++wlkk70QBf0iBWDwNy7PA4I=",
74        version = "v4.6.1",
75    )
76
77    go_repository(
78        name = "com_github_burntsushi_toml",
79        importpath = "github.com/BurntSushi/toml",
80        sum = "h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=",
81        version = "v0.3.1",
82    )
83    go_repository(
84        name = "com_github_census_instrumentation_opencensus_proto",
85        importpath = "github.com/census-instrumentation/opencensus-proto",
86        sum = "h1:glEXhBS5PSLLv4IXzLA5yPRVX4bilULVyxxbrfOtDAk=",
87        version = "v0.2.1",
88    )
89    go_repository(
90        name = "com_github_chzyer_logex",
91        importpath = "github.com/chzyer/logex",
92        sum = "h1:Swpa1K6QvQznwJRcfTfQJmTE72DqScAa40E+fbHEXEE=",
93        version = "v1.1.10",
94    )
95    go_repository(
96        name = "com_github_chzyer_readline",
97        importpath = "github.com/chzyer/readline",
98        sum = "h1:fY5BOSpyZCqRo5OhCuC+XN+r/bBCmeuuJtjz+bCNIf8=",
99        version = "v0.0.0-20180603132655-2972be24d48e",
100    )
101    go_repository(
102        name = "com_github_chzyer_test",
103        importpath = "github.com/chzyer/test",
104        sum = "h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8=",
105        version = "v0.0.0-20180213035817-a1ea475d72b1",
106    )
107    go_repository(
108        name = "com_github_client9_misspell",
109        importpath = "github.com/client9/misspell",
110        sum = "h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=",
111        version = "v0.3.4",
112    )
113    go_repository(
114        name = "com_github_davecgh_go_spew",
115        importpath = "github.com/davecgh/go-spew",
116        sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=",
117        version = "v1.1.1",
118    )
119
120    go_repository(
121        name = "com_github_emirpasic_gods",
122        importpath = "github.com/emirpasic/gods",
123        sum = "h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=",
124        version = "v1.18.1",
125    )
126    go_repository(
127        name = "com_github_envoyproxy_go_control_plane",
128        importpath = "github.com/envoyproxy/go-control-plane",
129        sum = "h1:4cmBvAEBNJaGARUEs3/suWRyfyBfhf7I60WBZq+bv2w=",
130        version = "v0.9.1-0.20191026205805-5f8ba28d4473",
131    )
132    go_repository(
133        name = "com_github_envoyproxy_protoc_gen_validate",
134        importpath = "github.com/envoyproxy/protoc-gen-validate",
135        sum = "h1:EQciDnbrYxy13PgWoY8AqoxGiPrpgBZ1R8UNe3ddc+A=",
136        version = "v0.1.0",
137    )
138    go_repository(
139        name = "com_github_fsnotify_fsnotify",
140        importpath = "github.com/fsnotify/fsnotify",
141        sum = "h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=",
142        version = "v1.6.0",
143    )
144
145    go_repository(
146        name = "com_github_ghodss_yaml",
147        importpath = "github.com/ghodss/yaml",
148        sum = "h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=",
149        version = "v1.0.0",
150    )
151    go_repository(
152        name = "com_github_golang_glog",
153        importpath = "github.com/golang/glog",
154        sum = "h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=",
155        version = "v0.0.0-20160126235308-23def4e6c14b",
156    )
157    go_repository(
158        name = "com_github_golang_mock",
159        importpath = "github.com/golang/mock",
160        sum = "h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc=",
161        version = "v1.6.0",
162    )
163    go_repository(
164        name = "com_github_golang_protobuf",
165        importpath = "github.com/golang/protobuf",
166        sum = "h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=",
167        version = "v1.5.2",
168    )
169    go_repository(
170        name = "com_github_google_go_cmp",
171        importpath = "github.com/google/go-cmp",
172        sum = "h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=",
173        version = "v0.5.9",
174    )
175    go_repository(
176        name = "com_github_pmezard_go_difflib",
177        importpath = "github.com/pmezard/go-difflib",
178        sum = "h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=",
179        version = "v1.0.0",
180    )
181
182    go_repository(
183        name = "com_github_prometheus_client_model",
184        importpath = "github.com/prometheus/client_model",
185        sum = "h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM=",
186        version = "v0.0.0-20190812154241-14fe0d1b01d4",
187    )
188    go_repository(
189        name = "com_github_smacker_go_tree_sitter",
190        importpath = "github.com/smacker/go-tree-sitter",
191        sum = "h1:7QZKUmQfnxncZIJGyvX8M8YeMfn8kM10j3J/2KwVTN4=",
192        version = "v0.0.0-20240422154435-0628b34cbf9c",
193    )
194    go_repository(
195        name = "com_github_stretchr_objx",
196        importpath = "github.com/stretchr/objx",
197        sum = "h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=",
198        version = "v0.5.2",
199    )
200    go_repository(
201        name = "com_github_stretchr_testify",
202        importpath = "github.com/stretchr/testify",
203        sum = "h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=",
204        version = "v1.9.0",
205    )
206
207    go_repository(
208        name = "com_github_yuin_goldmark",
209        importpath = "github.com/yuin/goldmark",
210        sum = "h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE=",
211        version = "v1.4.13",
212    )
213    go_repository(
214        name = "com_google_cloud_go",
215        importpath = "cloud.google.com/go",
216        sum = "h1:e0WKqKTd5BnrG8aKH3J3h+QvEIQtSUcf2n5UZ5ZgLtQ=",
217        version = "v0.26.0",
218    )
219    go_repository(
220        name = "in_gopkg_check_v1",
221        importpath = "gopkg.in/check.v1",
222        sum = "h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=",
223        version = "v0.0.0-20161208181325-20d25e280405",
224    )
225    go_repository(
226        name = "in_gopkg_yaml_v2",
227        importpath = "gopkg.in/yaml.v2",
228        sum = "h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=",
229        version = "v2.4.0",
230    )
231    go_repository(
232        name = "in_gopkg_yaml_v3",
233        importpath = "gopkg.in/yaml.v3",
234        sum = "h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=",
235        version = "v3.0.1",
236    )
237
238    go_repository(
239        name = "net_starlark_go",
240        importpath = "go.starlark.net",
241        sum = "h1:xwwDQW5We85NaTk2APgoN9202w/l0DVGp+GZMfsrh7s=",
242        version = "v0.0.0-20210223155950-e043a3d3c984",
243    )
244    go_repository(
245        name = "org_golang_google_appengine",
246        importpath = "google.golang.org/appengine",
247        sum = "h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=",
248        version = "v1.4.0",
249    )
250    go_repository(
251        name = "org_golang_google_genproto",
252        importpath = "google.golang.org/genproto",
253        sum = "h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY=",
254        version = "v0.0.0-20200526211855-cb27e3aa2013",
255    )
256    go_repository(
257        name = "org_golang_google_grpc",
258        importpath = "google.golang.org/grpc",
259        sum = "h1:fPVVDxY9w++VjTZsYvXWqEf9Rqar/e+9zYfxKK+W+YU=",
260        version = "v1.50.0",
261    )
262    go_repository(
263        name = "org_golang_google_protobuf",
264        importpath = "google.golang.org/protobuf",
265        sum = "h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=",
266        version = "v1.28.0",
267    )
268    go_repository(
269        name = "org_golang_x_crypto",
270        importpath = "golang.org/x/crypto",
271        sum = "h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=",
272        version = "v0.0.0-20190308221718-c2843e01d9a2",
273    )
274    go_repository(
275        name = "org_golang_x_exp",
276        importpath = "golang.org/x/exp",
277        sum = "h1:c2HOrn5iMezYjSlGPncknSEr/8x5LELb/ilJbXi9DEA=",
278        version = "v0.0.0-20190121172915-509febef88a4",
279    )
280    go_repository(
281        name = "org_golang_x_lint",
282        importpath = "golang.org/x/lint",
283        sum = "h1:XQyxROzUlZH+WIQwySDgnISgOivlhjIEwaQaJEJrrN0=",
284        version = "v0.0.0-20190313153728-d0100b6bd8b3",
285    )
286    go_repository(
287        name = "org_golang_x_mod",
288        importpath = "golang.org/x/mod",
289        sum = "h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=",
290        version = "v0.10.0",
291    )
292    go_repository(
293        name = "org_golang_x_net",
294        importpath = "golang.org/x/net",
295        sum = "h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M=",
296        version = "v0.10.0",
297    )
298    go_repository(
299        name = "org_golang_x_oauth2",
300        importpath = "golang.org/x/oauth2",
301        sum = "h1:vEDujvNQGv4jgYKudGeI/+DAX4Jffq6hpD55MmoEvKs=",
302        version = "v0.0.0-20180821212333-d2e6202438be",
303    )
304    go_repository(
305        name = "org_golang_x_sync",
306        importpath = "golang.org/x/sync",
307        sum = "h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=",
308        version = "v0.2.0",
309    )
310    go_repository(
311        name = "org_golang_x_sys",
312        importpath = "golang.org/x/sys",
313        sum = "h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=",
314        version = "v0.8.0",
315    )
316    go_repository(
317        name = "org_golang_x_text",
318        importpath = "golang.org/x/text",
319        sum = "h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=",
320        version = "v0.3.3",
321    )
322    go_repository(
323        name = "org_golang_x_tools",
324        build_directives = [
325            "gazelle:exclude **/testdata/**/*",
326        ],
327        importpath = "golang.org/x/tools",
328        sum = "h1:8WMNJAz3zrtPmnYC7ISf5dEn3MT0gY7jBJfw27yrrLo=",
329        version = "v0.9.1",
330    )
331    go_repository(
332        name = "org_golang_x_xerrors",
333        importpath = "golang.org/x/xerrors",
334        sum = "h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=",
335        version = "v0.0.0-20200804184101-5ec99f83aff1",
336    )
337