14
14
15
15
"This file managed by `bazel run //:gazelle_update_repos`"
16
16
17
- load (
18
- "@bazel_gazelle//:deps.bzl" ,
19
- _go_repository = "go_repository" ,
20
- )
21
- load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_file" )
17
+ load ("@bazel_gazelle//:deps.bzl" , _go_repository = "go_repository" )
22
18
23
19
def go_repository (name , ** kwargs ):
24
20
if name not in native .existing_rules ():
25
21
_go_repository (name = name , ** kwargs )
26
22
27
- def python_stdlib_list_deps ():
28
- "Fetch python stdlib list dependencies"
29
- http_file (
30
- name = "python_stdlib_list_3_8" ,
31
- sha256 = "ee6dc367011ff298b906dbaab408940aa57086d5f8f47278f4b7523b9aa13ae3" ,
32
- url = "https://raw.githubusercontent.com/pypi/stdlib-list/8cbc2067a4a0f9eee57fb541e4cd7727724b7db4/stdlib_list/lists/3.8.txt" ,
33
- downloaded_file_path = "3.8.txt" ,
34
- )
35
- http_file (
36
- name = "python_stdlib_list_3_9" ,
37
- sha256 = "a4340e5ffe2e75bb18f548028cef6e6ac15384c44ae0a776e04dd869da1d1fd7" ,
38
- url = "https://raw.githubusercontent.com/pypi/stdlib-list/8cbc2067a4a0f9eee57fb541e4cd7727724b7db4/stdlib_list/lists/3.9.txt" ,
39
- downloaded_file_path = "3.9.txt" ,
40
- )
41
- http_file (
42
- name = "python_stdlib_list_3_10" ,
43
- sha256 = "0b867738b78ac98944237de2600093a1c6ef259d1810017e46f01a29f3d199e7" ,
44
- url = "https://raw.githubusercontent.com/pypi/stdlib-list/8cbc2067a4a0f9eee57fb541e4cd7727724b7db4/stdlib_list/lists/3.10.txt" ,
45
- downloaded_file_path = "3.10.txt" ,
46
- )
47
- http_file (
48
- name = "python_stdlib_list_3_11" ,
49
- sha256 = "3c1dbf991b17178d6ed3772f4fa8f64302feaf9c3385fef328a0c7ab736a79b1" ,
50
- url = "https://raw.githubusercontent.com/pypi/stdlib-list/8cbc2067a4a0f9eee57fb541e4cd7727724b7db4/stdlib_list/lists/3.11.txt" ,
51
- downloaded_file_path = "3.11.txt" ,
52
- )
53
- http_file (
54
- name = "python_stdlib_list_3_12" ,
55
- sha256 = "6d3d53194218b43ee1d04bf9a4f0b6a9309bb59cdcaddede7d9cfe8b6835d34a" ,
56
- url = "https://raw.githubusercontent.com/pypi/stdlib-list/8cbc2067a4a0f9eee57fb541e4cd7727724b7db4/stdlib_list/lists/3.12.txt" ,
57
- downloaded_file_path = "3.12.txt" ,
58
- )
59
-
60
23
def gazelle_deps ():
61
- go_deps ()
62
- python_stdlib_list_deps ()
63
-
64
- def go_deps ():
65
24
"Fetch go dependencies"
66
25
go_repository (
67
26
name = "co_honnef_go_tools" ,
68
27
importpath = "honnef.co/go/tools" ,
69
28
sum = "h1:/hemPrYIhOhy8zYrNj+069zDB68us2sMGsfkFJO0iZs=" ,
70
29
version = "v0.0.0-20190523083050-ea95bdfd59fc" ,
71
30
)
72
- go_repository (
73
- name = "com_github_bazelbuild_bazel_gazelle" ,
74
- importpath = "github.com/bazelbuild/bazel-gazelle" ,
75
- sum = "h1:ROyUyUHzoEdvoOs1e0haxJx1l5EjZX6AOqiKdVlaBbg=" ,
76
- version = "v0.31.1" ,
77
- )
78
31
79
32
go_repository (
80
33
name = "com_github_bazelbuild_buildtools" ,
81
34
build_naming_convention = "go_default_library" ,
82
35
importpath = "github.com/bazelbuild/buildtools" ,
83
- sum = "h1:HTepWP/jhtWTC1gvK0RnvKCgjh4gLqiwaOwGozAXcbw=" ,
84
- version = "v0.0.0-20231103205921-433ea8554e82" ,
85
- )
86
- go_repository (
87
- name = "com_github_bazelbuild_rules_go" ,
88
- importpath = "github.com/bazelbuild/rules_go" ,
89
- sum = "h1:JzlRxsFNhlX+g4drDRPhIaU5H5LnI978wdMJ0vK4I+k=" ,
90
- version = "v0.41.0" ,
36
+ sum = "h1:jhiMzJ+8unnLRtV8rpbWBFE9pFNzIqgUTyZU5aA++w8=" ,
37
+ version = "v0.0.0-20221004120235-7186f635531b" ,
91
38
)
92
39
93
40
go_repository (
@@ -133,13 +80,6 @@ def go_deps():
133
80
sum = "h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=" ,
134
81
version = "v0.3.4" ,
135
82
)
136
- go_repository (
137
- name = "com_github_davecgh_go_spew" ,
138
- importpath = "github.com/davecgh/go-spew" ,
139
- sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=" ,
140
- version = "v1.1.1" ,
141
- )
142
-
143
83
go_repository (
144
84
name = "com_github_emirpasic_gods" ,
145
85
importpath = "github.com/emirpasic/gods" ,
@@ -158,12 +98,6 @@ def go_deps():
158
98
sum = "h1:EQciDnbrYxy13PgWoY8AqoxGiPrpgBZ1R8UNe3ddc+A=" ,
159
99
version = "v0.1.0" ,
160
100
)
161
- go_repository (
162
- name = "com_github_fsnotify_fsnotify" ,
163
- importpath = "github.com/fsnotify/fsnotify" ,
164
- sum = "h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=" ,
165
- version = "v1.6.0" ,
166
- )
167
101
168
102
go_repository (
169
103
name = "com_github_ghodss_yaml" ,
@@ -180,53 +114,28 @@ def go_deps():
180
114
go_repository (
181
115
name = "com_github_golang_mock" ,
182
116
importpath = "github.com/golang/mock" ,
183
- sum = "h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc =" ,
184
- version = "v1.6.0 " ,
117
+ sum = "h1:G5FRp8JnTd7RQH5kemVNlMeyXQAztQ3mOWV95KxsXH8 =" ,
118
+ version = "v1.1.1 " ,
185
119
)
186
120
go_repository (
187
121
name = "com_github_golang_protobuf" ,
188
122
importpath = "github.com/golang/protobuf" ,
189
- sum = "h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw =" ,
190
- version = "v1.5.2 " ,
123
+ sum = "h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM =" ,
124
+ version = "v1.4.3 " ,
191
125
)
192
126
go_repository (
193
127
name = "com_github_google_go_cmp" ,
194
128
importpath = "github.com/google/go-cmp" ,
195
129
sum = "h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=" ,
196
130
version = "v0.5.9" ,
197
131
)
198
- go_repository (
199
- name = "com_github_pmezard_go_difflib" ,
200
- importpath = "github.com/pmezard/go-difflib" ,
201
- sum = "h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=" ,
202
- version = "v1.0.0" ,
203
- )
204
132
205
133
go_repository (
206
134
name = "com_github_prometheus_client_model" ,
207
135
importpath = "github.com/prometheus/client_model" ,
208
136
sum = "h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM=" ,
209
137
version = "v0.0.0-20190812154241-14fe0d1b01d4" ,
210
138
)
211
- go_repository (
212
- name = "com_github_smacker_go_tree_sitter" ,
213
- importpath = "github.com/smacker/go-tree-sitter" ,
214
- sum = "h1:7QZKUmQfnxncZIJGyvX8M8YeMfn8kM10j3J/2KwVTN4=" ,
215
- version = "v0.0.0-20240422154435-0628b34cbf9c" ,
216
- )
217
- go_repository (
218
- name = "com_github_stretchr_objx" ,
219
- importpath = "github.com/stretchr/objx" ,
220
- sum = "h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=" ,
221
- version = "v0.5.2" ,
222
- )
223
- go_repository (
224
- name = "com_github_stretchr_testify" ,
225
- importpath = "github.com/stretchr/testify" ,
226
- sum = "h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=" ,
227
- version = "v1.9.0" ,
228
- )
229
-
230
139
go_repository (
231
140
name = "com_github_yuin_goldmark" ,
232
141
importpath = "github.com/yuin/goldmark" ,
@@ -251,13 +160,6 @@ def go_deps():
251
160
sum = "h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=" ,
252
161
version = "v2.4.0" ,
253
162
)
254
- go_repository (
255
- name = "in_gopkg_yaml_v3" ,
256
- importpath = "gopkg.in/yaml.v3" ,
257
- sum = "h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=" ,
258
- version = "v3.0.1" ,
259
- )
260
-
261
163
go_repository (
262
164
name = "net_starlark_go" ,
263
165
importpath = "go.starlark.net" ,
@@ -279,14 +181,14 @@ def go_deps():
279
181
go_repository (
280
182
name = "org_golang_google_grpc" ,
281
183
importpath = "google.golang.org/grpc" ,
282
- sum = "h1:fPVVDxY9w++VjTZsYvXWqEf9Rqar/e+9zYfxKK+W+YU =" ,
283
- version = "v1.50 .0" ,
184
+ sum = "h1:rRYRFMVgRv6E0D70Skyfsr28tDXIuuPZyWGMPdMcnXg =" ,
185
+ version = "v1.27 .0" ,
284
186
)
285
187
go_repository (
286
188
name = "org_golang_google_protobuf" ,
287
189
importpath = "google.golang.org/protobuf" ,
288
- sum = "h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw =" ,
289
- version = "v1.28 .0" ,
190
+ sum = "h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c =" ,
191
+ version = "v1.25 .0" ,
290
192
)
291
193
go_repository (
292
194
name = "org_golang_x_crypto" ,
@@ -309,14 +211,14 @@ def go_deps():
309
211
go_repository (
310
212
name = "org_golang_x_mod" ,
311
213
importpath = "golang.org/x/mod" ,
312
- sum = "h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk =" ,
313
- version = "v0.10.0 " ,
214
+ sum = "h1:6zppjxzCulZykYSLyVDYbneBfbaBIQPYMevg0bEwv2s =" ,
215
+ version = "v0.6.0-dev.0.20220419223038-86c51ed26bb4 " ,
314
216
)
315
217
go_repository (
316
218
name = "org_golang_x_net" ,
317
219
importpath = "golang.org/x/net" ,
318
- sum = "h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M =" ,
319
- version = "v0.10.0 " ,
220
+ sum = "h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0 =" ,
221
+ version = "v0.0.0-20220722155237-a158d28d115b " ,
320
222
)
321
223
go_repository (
322
224
name = "org_golang_x_oauth2" ,
@@ -327,29 +229,29 @@ def go_deps():
327
229
go_repository (
328
230
name = "org_golang_x_sync" ,
329
231
importpath = "golang.org/x/sync" ,
330
- sum = "h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI =" ,
331
- version = "v0.2.0 " ,
232
+ sum = "h1:uVc8UZUe6tr40fFVnUP5Oj+veunVezqYl9z7DYw9xzw =" ,
233
+ version = "v0.0.0-20220722155255-886fb9371eb4 " ,
332
234
)
333
235
go_repository (
334
236
name = "org_golang_x_sys" ,
335
237
importpath = "golang.org/x/sys" ,
336
- sum = "h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU =" ,
337
- version = "v0.8.0 " ,
238
+ sum = "h1:k5II8e6QD8mITdi+okbbmR/cIyEbeXLBhy5Ha4nevyc =" ,
239
+ version = "v0.0.0-20221010170243-090e33056c14 " ,
338
240
)
339
241
go_repository (
340
242
name = "org_golang_x_text" ,
341
243
importpath = "golang.org/x/text" ,
342
- sum = "h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k =" ,
343
- version = "v0.3.3 " ,
244
+ sum = "h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk =" ,
245
+ version = "v0.3.7 " ,
344
246
)
345
247
go_repository (
346
248
name = "org_golang_x_tools" ,
347
249
build_directives = [
348
250
"gazelle:exclude **/testdata/**/*" ,
349
251
],
350
252
importpath = "golang.org/x/tools" ,
351
- sum = "h1:8WMNJAz3zrtPmnYC7ISf5dEn3MT0gY7jBJfw27yrrLo =" ,
352
- version = "v0.9.1 " ,
253
+ sum = "h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU =" ,
254
+ version = "v0.1.12 " ,
353
255
)
354
256
go_repository (
355
257
name = "org_golang_x_xerrors" ,
0 commit comments