constellation/bazel/toolchains/go_rules_deps.bzl
renovate[bot] 9b0ffa2737
deps: update io_bazel_rules_go digest to ea3cc4f (#1488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 18:33:55 +01:00

28 lines
1.1 KiB
Python

"""Go toolchain dependencies for Bazel.
Defines hermetic go toolchains and rules to build and test go code.
Gazelle is a build file generator for Bazel projects written in Go.
"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def go_deps():
http_archive(
name = "io_bazel_rules_go",
strip_prefix = "rules_go-ea3cc4f0778ba4bb35a682affc8e278551187fad",
sha256 = "9f0c386d233e7160cb752527c34654620cef1920a53617a2f1cca8d8edee5e8a",
urls = [
"https://github.com/bazelbuild/rules_go/archive/ea3cc4f0778ba4bb35a682affc8e278551187fad.tar.gz",
],
)
http_archive(
name = "bazel_gazelle",
strip_prefix = "bazel-gazelle-97a754c6e45848828b27152fa64ca5dd3003d832",
sha256 = "2591fe5c9ff639317c5144665f2b97f3e45dac7ebb0b9357f8ddb3533b60a16f",
urls = [
# Depending on main until the next release, needed change from https://github.com/bazelbuild/bazel-gazelle/pull/1432
# so that "go:embed all:" directives work.
"https://github.com/bazelbuild/bazel-gazelle/archive/97a754c6e45848828b27152fa64ca5dd3003d832.tar.gz",
],
)