@@ -5,3 +5,236 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
5
5
6
6
def swift_bazel_go_dependencies ():
7
7
"""Declare the Go dependencies for `rules_swift_package_manager`."""
8
+ maybe (
9
+ go_repository ,
10
+ name = "com_github_bazelbuild_bazel_gazelle" ,
11
+ build_external = "external" ,
12
+ importpath = "github.com/bazelbuild/bazel-gazelle" ,
13
+ sum = "h1:BpkUzE3H2l6buJYFTKgzVMecJimQgWwYud25qVIx0SQ=" ,
14
+ version = "v0.42.0" ,
15
+ )
16
+ maybe (
17
+ go_repository ,
18
+ name = "com_github_bazelbuild_buildtools" ,
19
+ build_external = "external" ,
20
+ build_naming_convention = "go_default_library" ,
21
+ importpath = "github.com/bazelbuild/buildtools" ,
22
+ sum = "h1:FGzENZi+SX9I7h9xvMtRA3rel8hCEfyzSixteBgn7MU=" ,
23
+ version = "v0.0.0-20240918101019-be1c24cc9a44" ,
24
+ )
25
+ maybe (
26
+ go_repository ,
27
+ name = "com_github_bazelbuild_rules_go" ,
28
+ build_external = "external" ,
29
+ importpath = "github.com/bazelbuild/rules_go" ,
30
+ sum = "h1:/BUvuaB8MEiUA2oLPPCGtuw5V+doAYyiGTFyoSWlkrw=" ,
31
+ version = "v0.50.1" ,
32
+ )
33
+ maybe (
34
+ go_repository ,
35
+ name = "com_github_bmatcuk_doublestar_v4" ,
36
+ build_external = "external" ,
37
+ importpath = "github.com/bmatcuk/doublestar/v4" ,
38
+ sum = "h1:fdDeAqgT47acgwd9bd9HxJRDmc9UAmPpc+2m0CXv75Q=" ,
39
+ version = "v4.7.1" ,
40
+ )
41
+ maybe (
42
+ go_repository ,
43
+ name = "com_github_cpuguy83_go_md2man_v2" ,
44
+ build_external = "external" ,
45
+ importpath = "github.com/cpuguy83/go-md2man/v2" ,
46
+ sum = "h1:XJtiaUW6dEEqVuZiMTn1ldk455QWwEIsMIJlo5vtkx0=" ,
47
+ version = "v2.0.6" ,
48
+ )
49
+ maybe (
50
+ go_repository ,
51
+ name = "com_github_creasty_defaults" ,
52
+ build_external = "external" ,
53
+ importpath = "github.com/creasty/defaults" ,
54
+ sum = "h1:z27FJxCAa0JKt3utc0sCImAEb+spPucmKoOdLHvHYKk=" ,
55
+ version = "v1.8.0" ,
56
+ )
57
+ maybe (
58
+ go_repository ,
59
+ name = "com_github_davecgh_go_spew" ,
60
+ build_external = "external" ,
61
+ importpath = "github.com/davecgh/go-spew" ,
62
+ sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=" ,
63
+ version = "v1.1.1" ,
64
+ )
65
+ maybe (
66
+ go_repository ,
67
+ name = "com_github_deckarep_golang_set_v2" ,
68
+ build_external = "external" ,
69
+ importpath = "github.com/deckarep/golang-set/v2" ,
70
+ sum = "h1:gIloKvD7yH2oip4VLhsv3JyLLFnC0Y2mlusgcvJYW5k=" ,
71
+ version = "v2.7.0" ,
72
+ )
73
+ maybe (
74
+ go_repository ,
75
+ name = "com_github_fsnotify_fsnotify" ,
76
+ build_external = "external" ,
77
+ importpath = "github.com/fsnotify/fsnotify" ,
78
+ sum = "h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=" ,
79
+ version = "v1.7.0" ,
80
+ )
81
+ maybe (
82
+ go_repository ,
83
+ name = "com_github_golang_protobuf" ,
84
+ build_external = "external" ,
85
+ importpath = "github.com/golang/protobuf" ,
86
+ sum = "h1:LUVKkCeviFUMKqHa4tXIIij/lbhnMbP7Fn5wKdKkRh4=" ,
87
+ version = "v1.5.0" ,
88
+ )
89
+ maybe (
90
+ go_repository ,
91
+ name = "com_github_google_go_cmp" ,
92
+ build_external = "external" ,
93
+ importpath = "github.com/google/go-cmp" ,
94
+ sum = "h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=" ,
95
+ version = "v0.6.0" ,
96
+ )
97
+ maybe (
98
+ go_repository ,
99
+ name = "com_github_inconshreveable_mousetrap" ,
100
+ build_external = "external" ,
101
+ importpath = "github.com/inconshreveable/mousetrap" ,
102
+ sum = "h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=" ,
103
+ version = "v1.1.0" ,
104
+ )
105
+ maybe (
106
+ go_repository ,
107
+ name = "com_github_pmezard_go_difflib" ,
108
+ build_external = "external" ,
109
+ importpath = "github.com/pmezard/go-difflib" ,
110
+ sum = "h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=" ,
111
+ version = "v1.0.0" ,
112
+ )
113
+ maybe (
114
+ go_repository ,
115
+ name = "com_github_russross_blackfriday_v2" ,
116
+ build_external = "external" ,
117
+ importpath = "github.com/russross/blackfriday/v2" ,
118
+ sum = "h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=" ,
119
+ version = "v2.1.0" ,
120
+ )
121
+ maybe (
122
+ go_repository ,
123
+ name = "com_github_spf13_cobra" ,
124
+ build_external = "external" ,
125
+ importpath = "github.com/spf13/cobra" ,
126
+ sum = "h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=" ,
127
+ version = "v1.9.1" ,
128
+ )
129
+ maybe (
130
+ go_repository ,
131
+ name = "com_github_spf13_pflag" ,
132
+ build_external = "external" ,
133
+ importpath = "github.com/spf13/pflag" ,
134
+ sum = "h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=" ,
135
+ version = "v1.0.6" ,
136
+ )
137
+ maybe (
138
+ go_repository ,
139
+ name = "com_github_stretchr_objx" ,
140
+ build_external = "external" ,
141
+ importpath = "github.com/stretchr/objx" ,
142
+ sum = "h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=" ,
143
+ version = "v0.5.2" ,
144
+ )
145
+ maybe (
146
+ go_repository ,
147
+ name = "com_github_stretchr_testify" ,
148
+ build_external = "external" ,
149
+ importpath = "github.com/stretchr/testify" ,
150
+ sum = "h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=" ,
151
+ version = "v1.10.0" ,
152
+ )
153
+ maybe (
154
+ go_repository ,
155
+ name = "in_gopkg_check_v1" ,
156
+ build_external = "external" ,
157
+ importpath = "gopkg.in/check.v1" ,
158
+ sum = "h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=" ,
159
+ version = "v0.0.0-20161208181325-20d25e280405" ,
160
+ )
161
+ maybe (
162
+ go_repository ,
163
+ name = "in_gopkg_yaml_v3" ,
164
+ build_external = "external" ,
165
+ importpath = "gopkg.in/yaml.v3" ,
166
+ sum = "h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=" ,
167
+ version = "v3.0.1" ,
168
+ )
169
+ maybe (
170
+ go_repository ,
171
+ name = "net_starlark_go" ,
172
+ build_external = "external" ,
173
+ importpath = "go.starlark.net" ,
174
+ sum = "h1:xwwDQW5We85NaTk2APgoN9202w/l0DVGp+GZMfsrh7s=" ,
175
+ version = "v0.0.0-20210223155950-e043a3d3c984" ,
176
+ )
177
+ maybe (
178
+ go_repository ,
179
+ name = "org_golang_google_protobuf" ,
180
+ build_external = "external" ,
181
+ importpath = "google.golang.org/protobuf" ,
182
+ sum = "h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=" ,
183
+ version = "v1.33.0" ,
184
+ )
185
+ maybe (
186
+ go_repository ,
187
+ name = "org_golang_x_exp" ,
188
+ build_external = "external" ,
189
+ importpath = "golang.org/x/exp" ,
190
+ sum = "h1:nDVHiLt8aIbd/VzvPWN6kSOPE7+F/fNFDSXLVYkE/Iw=" ,
191
+ version = "v0.0.0-20250305212735-054e65f0b394" ,
192
+ )
193
+ maybe (
194
+ go_repository ,
195
+ name = "org_golang_x_mod" ,
196
+ build_external = "external" ,
197
+ importpath = "golang.org/x/mod" ,
198
+ sum = "h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU=" ,
199
+ version = "v0.24.0" ,
200
+ )
201
+ maybe (
202
+ go_repository ,
203
+ name = "org_golang_x_sync" ,
204
+ build_external = "external" ,
205
+ importpath = "golang.org/x/sync" ,
206
+ sum = "h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw=" ,
207
+ version = "v0.12.0" ,
208
+ )
209
+ maybe (
210
+ go_repository ,
211
+ name = "org_golang_x_sys" ,
212
+ build_external = "external" ,
213
+ importpath = "golang.org/x/sys" ,
214
+ sum = "h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=" ,
215
+ version = "v0.26.0" ,
216
+ )
217
+ maybe (
218
+ go_repository ,
219
+ name = "org_golang_x_text" ,
220
+ build_external = "external" ,
221
+ importpath = "golang.org/x/text" ,
222
+ sum = "h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY=" ,
223
+ version = "v0.23.0" ,
224
+ )
225
+ maybe (
226
+ go_repository ,
227
+ name = "org_golang_x_tools" ,
228
+ build_external = "external" ,
229
+ importpath = "golang.org/x/tools" ,
230
+ sum = "h1:0EedkvKDbh+qistFTd0Bcwe/YLh4vHwWEkiI0toFIBU=" ,
231
+ version = "v0.31.0" ,
232
+ )
233
+ maybe (
234
+ go_repository ,
235
+ name = "org_golang_x_tools_go_vcs" ,
236
+ build_external = "external" ,
237
+ importpath = "golang.org/x/tools/go/vcs" ,
238
+ sum = "h1:cOIJqWBl99H1dH5LWizPa+0ImeeJq3t3cJjaeOWUAL4=" ,
239
+ version = "v0.1.0-deprecated" ,
240
+ )
0 commit comments