mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-30 16:46:27 +00:00
61 lines
2.1 KiB
Python
61 lines
2.1 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "ssh-agent",
|
|
srcs = [
|
|
"pageant_windows.go",
|
|
"sshagent.go",
|
|
"sshagent_windows.go",
|
|
],
|
|
importmap = "peridot.resf.org/vendor/github.com/xanzy/ssh-agent",
|
|
importpath = "github.com/xanzy/ssh-agent",
|
|
visibility = ["//visibility:public"],
|
|
deps = select({
|
|
"@io_bazel_rules_go//go/platform:aix": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:android": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:darwin": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:dragonfly": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:freebsd": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:illumos": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:ios": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:js": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:linux": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:netbsd": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:openbsd": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:plan9": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:solaris": [
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:windows": [
|
|
"//vendor/github.com/Microsoft/go-winio",
|
|
"//vendor/golang.org/x/crypto/ssh/agent",
|
|
"//vendor/golang.org/x/sys/windows",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|