| # Copyright 2023 The Bazel Authors. All rights reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| "This file managed by `bazel run //:gazelle_update_repos`" | |
| load("@bazel_gazelle//:deps.bzl", _go_repository = "go_repository") | |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | |
| def go_repository(name, **kwargs): | |
| if name not in native.existing_rules(): | |
| _go_repository(name = name, **kwargs) | |
| def python_stdlib_list_deps(): | |
| "Fetch python stdlib list dependencies" | |
| http_archive( | |
| name = "python_stdlib_list", | |
| build_file_content = """exports_files(glob(["stdlib_list/lists/*.txt"]))""", | |
| sha256 = "517824f27ee89e591d8ae7c1dd9ff34f672eae50ee886ea31bb8816d77535675", | |
| strip_prefix = "stdlib_list-0.12.0", | |
| url = "https://files.pythonhosted.org/packages/8c/25/f1540879c8815387980e56f973e54605bd924612399ace31487f7444171c/stdlib_list-0.12.0.tar.gz", | |
| ) | |
| def gazelle_deps(): | |
| go_deps() | |
| python_stdlib_list_deps() | |
| def go_deps(): | |
| "Fetch go dependencies" | |
| go_repository( | |
| name = "com_github_bazelbuild_bazel_gazelle", | |
| importpath = "github.com/bazelbuild/bazel-gazelle", | |
| sum = "h1:g3Rr1ZbkC1Pk20aOgBITxSD/efS1WbaSty5jC786Z3Q=", | |
| version = "v0.47.0", | |
| ) | |
| go_repository( | |
| name = "com_github_bazelbuild_buildtools", | |
| build_naming_convention = "go_default_library", | |
| importpath = "github.com/bazelbuild/buildtools", | |
| sum = "h1:njQAmjTv/YHRm/0Lfv9DXHFZ4MdT2IA/RKHTnqZkgDw=", | |
| version = "v0.0.0-20250930140053-2eb4fccefb52", | |
| ) | |
| go_repository( | |
| name = "com_github_bazelbuild_rules_go", | |
| importpath = "github.com/bazelbuild/rules_go", | |
| sum = "h1:cQYGcunY8myOB+0Ym6PGQRhc/milkRcNv0my3XgxaDU=", | |
| version = "v0.55.1", | |
| ) | |
| go_repository( | |
| name = "com_github_bmatcuk_doublestar_v4", | |
| importpath = "github.com/bmatcuk/doublestar/v4", | |
| sum = "h1:X8jg9rRZmJd4yRy7ZeNDRnM+T3ZfHv15JiBJ/avrEXE=", | |
| version = "v4.9.1", | |
| ) | |
| go_repository( | |
| name = "com_github_davecgh_go_spew", | |
| importpath = "github.com/davecgh/go-spew", | |
| sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=", | |
| version = "v1.1.1", | |
| ) | |
| go_repository( | |
| name = "com_github_emirpasic_gods", | |
| importpath = "github.com/emirpasic/gods", | |
| sum = "h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=", | |
| version = "v1.18.1", | |
| ) | |
| go_repository( | |
| name = "com_github_fsnotify_fsnotify", | |
| importpath = "github.com/fsnotify/fsnotify", | |
| sum = "h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=", | |
| version = "v1.7.0", | |
| ) | |
| go_repository( | |
| name = "com_github_ghodss_yaml", | |
| importpath = "github.com/ghodss/yaml", | |
| sum = "h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=", | |
| version = "v1.0.0", | |
| ) | |
| go_repository( | |
| name = "com_github_gogo_protobuf", | |
| importpath = "github.com/gogo/protobuf", | |
| sum = "h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=", | |
| version = "v1.3.2", | |
| ) | |
| go_repository( | |
| name = "com_github_golang_mock", | |
| importpath = "github.com/golang/mock", | |
| sum = "h1:YojYx61/OLFsiv6Rw1Z96LpldJIy31o+UHmwAUMJ6/U=", | |
| version = "v1.7.0-rc.1", | |
| ) | |
| go_repository( | |
| name = "com_github_golang_protobuf", | |
| importpath = "github.com/golang/protobuf", | |
| sum = "h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=", | |
| version = "v1.5.4", | |
| ) | |
| go_repository( | |
| name = "com_github_google_go_cmp", | |
| importpath = "github.com/google/go-cmp", | |
| sum = "h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=", | |
| version = "v0.6.0", | |
| ) | |
| go_repository( | |
| name = "com_github_pmezard_go_difflib", | |
| importpath = "github.com/pmezard/go-difflib", | |
| sum = "h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=", | |
| version = "v1.0.0", | |
| ) | |
| go_repository( | |
| name = "com_github_smacker_go_tree_sitter", | |
| importpath = "github.com/smacker/go-tree-sitter", | |
| sum = "h1:6C8qej6f1bStuePVkLSFxoU22XBS165D3klxlzRg8F4=", | |
| version = "v0.0.0-20240827094217-dd81d9e9be82", | |
| ) | |
| go_repository( | |
| name = "com_github_stretchr_objx", | |
| importpath = "github.com/stretchr/objx", | |
| sum = "h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=", | |
| version = "v0.5.2", | |
| ) | |
| go_repository( | |
| name = "com_github_stretchr_testify", | |
| importpath = "github.com/stretchr/testify", | |
| sum = "h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=", | |
| version = "v1.9.0", | |
| ) | |
| go_repository( | |
| name = "in_gopkg_check_v1", | |
| importpath = "gopkg.in/check.v1", | |
| sum = "h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=", | |
| version = "v0.0.0-20161208181325-20d25e280405", | |
| ) | |
| go_repository( | |
| name = "in_gopkg_yaml_v2", | |
| importpath = "gopkg.in/yaml.v2", | |
| sum = "h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=", | |
| version = "v2.4.0", | |
| ) | |
| go_repository( | |
| name = "in_gopkg_yaml_v3", | |
| importpath = "gopkg.in/yaml.v3", | |
| sum = "h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=", | |
| version = "v3.0.1", | |
| ) | |
| go_repository( | |
| name = "net_starlark_go", | |
| importpath = "go.starlark.net", | |
| sum = "h1:xwwDQW5We85NaTk2APgoN9202w/l0DVGp+GZMfsrh7s=", | |
| version = "v0.0.0-20210223155950-e043a3d3c984", | |
| ) | |
| go_repository( | |
| name = "org_golang_google_genproto", | |
| importpath = "google.golang.org/genproto", | |
| sum = "h1:387Y+JbxF52bmesc8kq1NyYIp33dnxCw6eiA7JMsTmw=", | |
| version = "v0.0.0-20250115164207-1a7da9e5054f", | |
| ) | |
| go_repository( | |
| name = "org_golang_google_genproto_googleapis_rpc", | |
| importpath = "google.golang.org/genproto/googleapis/rpc", | |
| sum = "h1:3UsHvIr4Wc2aW4brOaSCmcxh9ksica6fHEr8P1XhkYw=", | |
| version = "v0.0.0-20250106144421-5f5ef82da422", | |
| ) | |
| go_repository( | |
| name = "org_golang_google_grpc", | |
| importpath = "google.golang.org/grpc", | |
| sum = "h1:OgPcDAFKHnH8X3O4WcO4XUc8GRDeKsKReqbQtiCj7N8=", | |
| version = "v1.67.3", | |
| ) | |
| go_repository( | |
| name = "org_golang_google_grpc_cmd_protoc_gen_go_grpc", | |
| importpath = "google.golang.org/grpc/cmd/protoc-gen-go-grpc", | |
| sum = "h1:F29+wU6Ee6qgu9TddPgooOdaqsxTMunOoj8KA5yuS5A=", | |
| version = "v1.5.1", | |
| ) | |
| go_repository( | |
| name = "org_golang_google_protobuf", | |
| importpath = "google.golang.org/protobuf", | |
| sum = "h1:82DV7MYdb8anAVi3qge1wSnMDrnKK7ebr+I0hHRN1BU=", | |
| version = "v1.36.3", | |
| ) | |
| go_repository( | |
| name = "org_golang_x_mod", | |
| importpath = "golang.org/x/mod", | |
| sum = "h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM=", | |
| version = "v0.23.0", | |
| ) | |
| go_repository( | |
| name = "org_golang_x_net", | |
| importpath = "golang.org/x/net", | |
| sum = "h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8=", | |
| version = "v0.35.0", | |
| ) | |
| go_repository( | |
| name = "org_golang_x_sync", | |
| importpath = "golang.org/x/sync", | |
| sum = "h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w=", | |
| version = "v0.11.0", | |
| ) | |
| go_repository( | |
| name = "org_golang_x_sys", | |
| importpath = "golang.org/x/sys", | |
| sum = "h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=", | |
| version = "v0.30.0", | |
| ) | |
| go_repository( | |
| name = "org_golang_x_text", | |
| importpath = "golang.org/x/text", | |
| sum = "h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM=", | |
| version = "v0.22.0", | |
| ) | |
| go_repository( | |
| name = "org_golang_x_tools", | |
| build_directives = [ | |
| "gazelle:exclude **/testdata/**/*", | |
| ], | |
| importpath = "golang.org/x/tools", | |
| sum = "h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY=", | |
| version = "v0.30.0", | |
| ) | |
| go_repository( | |
| name = "org_golang_x_tools_go_vcs", | |
| importpath = "golang.org/x/tools/go/vcs", | |
| sum = "h1:cOIJqWBl99H1dH5LWizPa+0ImeeJq3t3cJjaeOWUAL4=", | |
| version = "v0.1.0-deprecated", | |
| ) |