2018-05-10 17:06:22 +00:00
|
|
|
# Load go bazel rules and gazelle.
|
2018-12-01 00:40:11 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
2018-04-27 17:37:02 +00:00
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_go",
|
2018-11-07 18:58:51 +00:00
|
|
|
url = "https://github.com/bazelbuild/rules_go/releases/download/0.16.2/rules_go-0.16.2.tar.gz",
|
|
|
|
sha256 = "f87fa87475ea107b3c69196f39c82b7bbf58fe27c62a338684c20ca17d1d8613",
|
2018-04-27 17:37:02 +00:00
|
|
|
)
|
2018-05-10 16:41:05 +00:00
|
|
|
http_archive(
|
|
|
|
name = "bazel_gazelle",
|
2018-10-17 15:54:53 +00:00
|
|
|
url = "https://github.com/bazelbuild/bazel-gazelle/releases/download/0.15.0/bazel-gazelle-0.15.0.tar.gz",
|
|
|
|
sha256 = "6e875ab4b6bf64a38c352887760f21203ab054676d9c1b274963907e0768740d",
|
2018-05-10 16:41:05 +00:00
|
|
|
)
|
2018-10-29 18:54:28 +00:00
|
|
|
|
2018-05-10 17:06:22 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
|
|
|
|
go_rules_dependencies()
|
2018-11-07 18:58:51 +00:00
|
|
|
go_register_toolchains(go_version="1.11.2")
|
2018-05-10 17:06:22 +00:00
|
|
|
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
|
|
|
|
gazelle_dependencies()
|
2018-05-10 16:41:05 +00:00
|
|
|
|
2018-10-23 07:19:11 +00:00
|
|
|
# External repositories, in sorted order.
|
2018-07-26 18:35:51 +00:00
|
|
|
go_repository(
|
|
|
|
name = "com_github_cenkalti_backoff",
|
|
|
|
importpath = "github.com/cenkalti/backoff",
|
|
|
|
commit = "66e726b43552c0bab0539b28e640b89fd6862115",
|
|
|
|
)
|
|
|
|
|
2018-09-21 18:40:50 +00:00
|
|
|
go_repository(
|
|
|
|
name = "com_github_gofrs_flock",
|
|
|
|
importpath = "github.com/gofrs/flock",
|
|
|
|
commit = "886344bea0798d02ff3fae16a922be5f6b26cee0"
|
|
|
|
)
|
|
|
|
|
2018-10-23 07:19:11 +00:00
|
|
|
go_repository(
|
|
|
|
name = "com_github_golang_mock",
|
|
|
|
importpath = "github.com/golang/mock",
|
|
|
|
commit = "600781dde9cca80734169b9e969d9054ccc57937",
|
|
|
|
)
|
|
|
|
|
2018-04-27 17:37:02 +00:00
|
|
|
go_repository(
|
|
|
|
name = "com_github_google_go-cmp",
|
|
|
|
importpath = "github.com/google/go-cmp",
|
|
|
|
commit = "3af367b6b30c263d47e8895973edcca9a49cf029",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_google_subcommands",
|
|
|
|
importpath = "github.com/google/subcommands",
|
|
|
|
commit = "ce3d4cfc062faac7115d44e5befec8b5a08c3faa",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_google_uuid",
|
|
|
|
importpath = "github.com/google/uuid",
|
|
|
|
commit = "dec09d789f3dba190787f8b4454c7d3c936fed9e",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_kr_pty",
|
|
|
|
importpath = "github.com/kr/pty",
|
|
|
|
commit = "282ce0e5322c82529687d609ee670fac7c7d917c",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_opencontainers_runtime-spec",
|
|
|
|
importpath = "github.com/opencontainers/runtime-spec",
|
|
|
|
commit = "b2d941ef6a780da2d9982c1fb28d77ad97f54fc7",
|
|
|
|
)
|
|
|
|
|
2018-10-23 07:19:11 +00:00
|
|
|
go_repository(
|
|
|
|
name = "com_github_syndtr_gocapability",
|
|
|
|
importpath = "github.com/syndtr/gocapability",
|
|
|
|
commit = "d98352740cb2c55f81556b63d4a1ec64c5a319c2",
|
|
|
|
)
|
|
|
|
|
2018-04-27 17:37:02 +00:00
|
|
|
go_repository(
|
|
|
|
name = "com_github_vishvananda_netlink",
|
|
|
|
importpath = "github.com/vishvananda/netlink",
|
|
|
|
commit = "d35d6b58e1cb692b27b94fc403170bf44058ac3e",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_vishvananda_netns",
|
|
|
|
importpath = "github.com/vishvananda/netns",
|
|
|
|
commit = "be1fbeda19366dea804f00efff2dd73a1642fdcc",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_golang_x_net",
|
|
|
|
importpath = "golang.org/x/net",
|
|
|
|
commit = "b3c676e531a6dc479fa1b35ac961c13f5e2b4d2e",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_golang_x_sys",
|
|
|
|
importpath = "golang.org/x/sys",
|
|
|
|
commit = "0dd5e194bbf5eb84a39666eb4c98a4d007e4203a",
|
|
|
|
)
|
2018-10-29 18:54:28 +00:00
|
|
|
|
|
|
|
# System Call test dependencies
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_gflags_gflags",
|
|
|
|
sha256 = "6e16c8bc91b1310a44f3965e616383dbda48f83e8c1eaa2370a215057b00cabe",
|
|
|
|
strip_prefix = "gflags-77592648e3f3be87d6c7123eb81cbad75f9aef5a",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/gflags/gflags/archive/77592648e3f3be87d6c7123eb81cbad75f9aef5a.tar.gz",
|
|
|
|
"https://github.com/gflags/gflags/archive/77592648e3f3be87d6c7123eb81cbad75f9aef5a.tar.gz",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "com_google_absl",
|
|
|
|
strip_prefix = "abseil-cpp-master",
|
|
|
|
urls = ["https://github.com/abseil/abseil-cpp/archive/master.zip"],
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "com_google_googletest",
|
|
|
|
sha256 = "353ab86e35cea1cd386115279cf4b16695bbf21b897bfbf2721cf4cb5f64ade8",
|
|
|
|
strip_prefix = "googletest-997d343dd680e541ef96ce71ee54a91daf2577a0",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/google/googletest/archive/997d343dd680e541ef96ce71ee54a91daf2577a0.zip",
|
|
|
|
"https://github.com/google/googletest/archive/997d343dd680e541ef96ce71ee54a91daf2577a0.zip",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "com_google_glog",
|
|
|
|
sha256 = "1ee310e5d0a19b9d584a855000434bb724aa744745d5b8ab1855c85bff8a8e21",
|
|
|
|
strip_prefix = "glog-028d37889a1e80e8a07da1b8945ac706259e5fd8",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/google/glog/archive/028d37889a1e80e8a07da1b8945ac706259e5fd8.tar.gz",
|
|
|
|
"https://github.com/google/glog/archive/028d37889a1e80e8a07da1b8945ac706259e5fd8.tar.gz",
|
|
|
|
],
|
2018-11-07 18:58:51 +00:00
|
|
|
)
|
2018-11-09 22:37:42 +00:00
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_google_btree",
|
|
|
|
importpath = "github.com/google/btree",
|
|
|
|
commit = "4030bb1f1f0c35b30ca7009e9ebd06849dd45306",
|
|
|
|
)
|