mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
d964c74cbb
* deps: update dependency io_bazel_rules_go to v0.39.1 * deps: tidy all modules * deps: remove duplicate urls --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: edgelessci <edgelessci@users.noreply.github.com> Co-authored-by: Malte Poll <mp@edgeless.systems>
30 lines
1.4 KiB
Python
30 lines
1.4 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",
|
|
sha256 = "6dc2da7ab4cf5d7bfc7c949776b1b7c733f05e56edc4bcd9022bb249d2e2a996",
|
|
urls = [
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.39.1/rules_go-v0.39.1.zip",
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/6dc2da7ab4cf5d7bfc7c949776b1b7c733f05e56edc4bcd9022bb249d2e2a996",
|
|
"https://github.com/bazelbuild/rules_go/releases/download/v0.39.1/rules_go-v0.39.1.zip",
|
|
],
|
|
type = "zip",
|
|
)
|
|
http_archive(
|
|
name = "bazel_gazelle",
|
|
sha256 = "b8b6d75de6e4bf7c41b7737b183523085f56283f6db929b86c5e7e1f09cf59c9",
|
|
urls = [
|
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.31.1/bazel-gazelle-v0.31.1.tar.gz",
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/b8b6d75de6e4bf7c41b7737b183523085f56283f6db929b86c5e7e1f09cf59c9",
|
|
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.31.1/bazel-gazelle-v0.31.1.tar.gz",
|
|
],
|
|
type = "tar.gz",
|
|
)
|