constellation/bazel/toolchains/go_rules_deps.bzl
renovate[bot] 1f92b29b4d
deps: update bazel_gazelle digest to 97a754c (#1475)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 14:28:36 +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-afbd9c4999970bdbe8dca9dda277c2a7b8ce7eea",
sha256 = "02476ca4e422d7e7c35ec13c667e43c2e32d821c61eb7976b2116b73079ec971",
urls = [
"https://github.com/bazelbuild/rules_go/archive/afbd9c4999970bdbe8dca9dda277c2a7b8ce7eea.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",
],
)