github.com/bazelbuild/bazel-watcher@v0.25.2/WORKSPACE (about)

     1  # Copyright 2017 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  load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
    16  
    17  http_archive(
    18      name = "bazel_skylib",
    19      sha256 = "66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa",
    20      urls = [
    21          "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
    22          "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
    23      ],
    24  )
    25  
    26  http_archive(
    27      name = "rules_proto",
    28      sha256 = "66bfdf8782796239d3875d37e7de19b1d94301e8972b3cbd2446b332429b4df1",
    29      strip_prefix = "rules_proto-4.0.0",
    30      urls = [
    31          "https://github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0.tar.gz",
    32      ],
    33  )
    34  
    35  load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
    36  
    37  rules_proto_dependencies()
    38  
    39  rules_proto_toolchains()
    40  
    41  # NOTE: URLs are mirrored by an asynchronous review process. They must
    42  #       be greppable for that to happen. It's OK to submit broken mirror
    43  #       URLs, so long as they're correctly formatted. Bazel's downloader
    44  #       has fast failover.
    45  
    46  # gazelle:repository go_repository name=com_github_bazelbuild_rules_go importpath=github.com/bazelbuild/rules_go
    47  http_archive(
    48      name = "io_bazel_rules_go",
    49      sha256 = "d6ab6b57e48c09523e93050f13698f708428cfd5e619252e369d377af6597707",
    50      urls = [
    51          "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.43.0/rules_go-v0.43.0.zip",
    52          "https://github.com/bazelbuild/rules_go/releases/download/v0.43.0/rules_go-v0.43.0.zip",
    53      ],
    54  )
    55  
    56  http_archive(
    57      name = "bazel_gazelle",
    58      sha256 = "501deb3d5695ab658e82f6f6f549ba681ea3ca2a5fb7911154b5aa45596183fa",
    59      urls = [
    60          "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/bazel-gazelle/releases/download/v0.26.0/bazel-gazelle-v0.26.0.tar.gz",
    61          "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.26.0/bazel-gazelle-v0.26.0.tar.gz",
    62      ],
    63  )
    64  
    65  load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
    66  
    67  go_rules_dependencies()
    68  
    69  go_register_toolchains(version = "1.19.4")
    70  
    71  load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
    72  
    73  gazelle_dependencies()
    74  
    75  load(":repositories.bzl", "go_repositories")
    76  
    77  # gazelle:repository_macro repositories.bzl%go_repositories
    78  go_repositories()