mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-30 16:46:27 +00:00
ad0f7a5305
Upgrade to Go 1.20.5, Hydra v2 SDK, rules-go v0.44.2 (with proper resolves), protobuf v25.3 and mass upgrade of Go dependencies.
27 lines
853 B
Python
27 lines
853 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "chacha20poly1305",
|
|
srcs = [
|
|
"chacha20poly1305.go",
|
|
"chacha20poly1305_amd64.go",
|
|
"chacha20poly1305_amd64.s",
|
|
"chacha20poly1305_generic.go",
|
|
"chacha20poly1305_noasm.go",
|
|
"xchacha20poly1305.go",
|
|
],
|
|
importmap = "peridot.resf.org/vendor/golang.org/x/crypto/chacha20poly1305",
|
|
importpath = "golang.org/x/crypto/chacha20poly1305",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//vendor/golang.org/x/crypto/chacha20",
|
|
"//vendor/golang.org/x/crypto/internal/alias",
|
|
"//vendor/golang.org/x/crypto/internal/poly1305",
|
|
] + select({
|
|
"@io_bazel_rules_go//go/platform:amd64": [
|
|
"//vendor/golang.org/x/sys/cpu",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|