prysm-pulse/WORKSPACE

569 lines
16 KiB
Python

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
# in order to be able to enable race detection we need to use a version
# < 0.13.0 until this bug is fixed: https://github.com/bazelbuild/rules_go/issues/1592
# We are using 0.12 here until bazelbuild/bazel-gazelle#272 is resolved, as we cannot import
# protobuf/ptypes normally until this issue is fixed
urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.12.1/rules_go-0.12.1.tar.gz"],
sha256 = "8b68d0630d63d95dacc0016c3bb4b76154fe34fca93efd65d1c366de3fcb4294",
)
http_archive(
name = "bazel_gazelle",
urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/0.12.0/bazel-gazelle-0.12.0.tar.gz"],
)
git_repository(
name = "io_bazel_rules_docker",
commit = "7401cb256222615c497c0dee5a4de5724a4f4cc7", # 2018-06-22
remote = "https://github.com/bazelbuild/rules_docker.git",
)
load("@io_bazel_rules_docker//docker:docker.bzl", "docker_repositories")
docker_repositories()
# This requires rules_docker to be fully instantiated before it is pulled in.
git_repository(
name = "io_bazel_rules_k8s",
commit = "2054f7bf4d51f9e439313c56d7a208960a8a179f", # 2018-07-29
remote = "https://github.com/bazelbuild/rules_k8s.git",
)
load("@io_bazel_rules_k8s//k8s:k8s.bzl", "k8s_repositories", "k8s_defaults")
k8s_repositories()
_CLUSTER = "minikube"
_NAMESPACE = "default"
[k8s_defaults(
name = "k8s_" + kind,
cluster = _CLUSTER,
#context = _CONTEXT,
kind = kind,
namespace = _NAMESPACE,
) for kind in [
"deploy",
"service",
"secret",
"priority_class",
"pod",
]]
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
gazelle_dependencies()
load(
"@io_bazel_rules_docker//go:image.bzl",
_go_image_repos = "repositories",
)
_go_image_repos()
git_repository(
name = "com_github_jmhodges_bazel_gomock",
commit = "5b73edb74e569ff404b3beffc809d6d9f205e0e4",
remote = "https://github.com/jmhodges/bazel_gomock.git",
)
go_repository(
name = "com_github_golang_mock",
commit = "503ea999614e3b9d10f0060b8182b6fc7ea664f8",
importpath = "github.com/golang/mock",
)
# External dependencies
go_repository(
name = "com_github_ethereum_go_ethereum",
importpath = "github.com/ethereum/go-ethereum",
# Note: go-ethereum is not bazel-friendly with regards to cgo. We have a
# a fork that has resolved these issues by disabling HID/USB support and
# some manual fixes for c imports in the crypto package. This is forked
# branch should be updated from time to time with the latest go-ethereum
# code.
remote = "https://github.com/prysmaticlabs/bazel-go-ethereum",
vcs = "git",
# Last updated July 15, 2018
commit = "fad71da72e539ff79183a5d548b105c73ce4969f",
)
go_repository(
name = "com_github_urfave_cli",
importpath = "github.com/urfave/cli",
commit = "8e01ec4cd3e2d84ab2fe90d8210528ffbb06d8ff",
)
go_repository(
name = "com_github_x_cray_logrus_prefixed_formatter",
importpath = "github.com/x-cray/logrus-prefixed-formatter",
commit = "bb2702d423886830dee131692131d35648c382e2",
)
go_repository(
name = "com_github_mgutz_ansi",
importpath = "github.com/mgutz/ansi",
commit = "9520e82c474b0a04dd04f8a40959027271bab992",
)
go_repository(
name = "com_github_fjl_memsize",
importpath = "github.com/fjl/memsize",
commit = "ca190fb6ffbc076ff49197b7168a760f30182d2e",
)
go_repository(
name = "com_github_libp2p_go_floodsub",
commit = "1b4fbb865d4944a602b27e24e8123a57095e9987",
importpath = "github.com/libp2p/go-floodsub",
)
go_repository(
name = "com_github_libp2p_go_libp2p",
commit = "934606d0f292f265eab890101233d18ffeabfda0",
importpath = "github.com/libp2p/go-libp2p",
)
go_repository(
name = "com_github_libp2p_go_libp2p_peer",
commit = "a26c4b782bfe3b2570c539f69dc7777a45117a90",
importpath = "github.com/libp2p/go-libp2p-peer",
)
go_repository(
name = "com_github_libp2p_go_libp2p_crypto",
commit = "18915b5467c77ad8c07a35328c2cab468667a4e8",
importpath = "github.com/libp2p/go-libp2p-crypto",
)
go_repository(
name = "com_github_multiformats_go_multiaddr",
commit = "96804982667ed1672985566d0d0c2a7ed6f10e1f",
importpath = "github.com/multiformats/go-multiaddr",
)
go_repository(
name = "com_github_ipfs_go_log",
commit = "5dc2060baaf8db344f31dafd852340b93811d03f",
importpath = "github.com/ipfs/go-log",
)
go_repository(
name = "com_github_multiformats_go_multihash",
commit = "8be2a682ab9f254311de1375145a2f78a809b07d",
importpath = "github.com/multiformats/go-multihash",
)
go_repository(
name = "com_github_libp2p_go_libp2p_swarm",
commit = "81c57653cf47f106c6779a17a1e24ce192a0a42d",
importpath = "github.com/libp2p/go-libp2p-swarm",
)
go_repository(
name = "com_github_libp2p_go_libp2p_host",
commit = "c2196843b63fc9da2999045ca7fbae64e53b6461",
importpath = "github.com/libp2p/go-libp2p-host",
)
go_repository(
name = "com_github_libp2p_go_libp2p_peerstore",
commit = "49898a5f59ac4bea31b49d0c62ba214a6da16dbd",
importpath = "github.com/libp2p/go-libp2p-peerstore",
)
go_repository(
name = "com_github_libp2p_go_libp2p_circuit",
commit = "ee6dd9116af74cc17c03a199c258817543b0704b",
importpath = "github.com/libp2p/go-libp2p-circuit",
)
go_repository(
name = "com_github_coreos_go_semver",
commit = "e214231b295a8ea9479f11b70b35d5acf3556d9b",
importpath = "github.com/coreos/go-semver",
)
go_repository(
name = "com_github_libp2p_go_libp2p_interface_connmgr",
commit = "ba1fa6b3d7aed40798c930634ba109bcd7b879d9",
importpath = "github.com/libp2p/go-libp2p-interface-connmgr",
)
go_repository(
name = "com_github_libp2p_go_conn_security_multistream",
commit = "df26ef91ad66a626a4b7147fd95d18962395a20e",
importpath = "github.com/libp2p/go-conn-security-multistream",
)
go_repository(
name = "com_github_libp2p_go_libp2p_metrics",
commit = "c51c712333790bf9318c6d02b2e0129c239b5d65",
importpath = "github.com/libp2p/go-libp2p-metrics",
)
go_repository(
name = "com_github_libp2p_go_libp2p_net",
commit = "d387f776809c666d02d69953e860be9f5bad5640",
importpath = "github.com/libp2p/go-libp2p-net",
)
go_repository(
name = "com_github_whyrusleeping_mafmt",
commit = "1dc32401ee9fdd3f6cdb3405ec984d5dae877b2a",
importpath = "github.com/whyrusleeping/mafmt",
)
go_repository(
name = "com_github_multiformats_go_multiaddr_net",
commit = "cba4f9fea8613343eb7ecc4ddadd8e7298a00c39",
importpath = "github.com/multiformats/go-multiaddr-net",
)
go_repository(
name = "com_github_agl_ed25519",
commit = "5312a61534124124185d41f09206b9fef1d88403",
importpath = "github.com/agl/ed25519",
)
go_repository(
name = "com_github_minio_blake2b_simd",
commit = "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4",
importpath = "github.com/minio/blake2b-simd",
)
go_repository(
name = "com_github_gxed_hashland",
commit = "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8",
importpath = "github.com/gxed/hashland",
)
go_repository(
name = "com_github_mattn_go_colorable",
commit = "efa589957cd060542a26d2dd7832fd6a6c6c3ade",
importpath = "github.com/mattn/go-colorable",
)
go_repository(
name = "com_github_whyrusleeping_mdns",
commit = "348bb87e5cd39b33dba9a33cb20802111e5ee029",
importpath = "github.com/whyrusleeping/mdns",
)
go_repository(
name = "com_github_btcsuite_btcd",
commit = "fdfc19097e7ac6b57035062056f5b7b4638b8898",
importpath = "github.com/btcsuite/btcd",
)
go_repository(
name = "com_github_minio_sha256_simd",
commit = "ad98a36ba0da87206e3378c556abbfeaeaa98668",
importpath = "github.com/minio/sha256-simd",
)
go_repository(
name = "com_github_mr_tron_base58",
commit = "4df4dc6e86a912614d09719d10cad427b087cbfb",
importpath = "github.com/mr-tron/base58",
)
go_repository(
name = "com_github_whyrusleeping_go_smux_yamux",
commit = "eac25f3e2d47aae211e457e7664b52634c95eea8",
importpath = "github.com/whyrusleeping/go-smux-yamux",
)
go_repository(
name = "com_github_libp2p_go_libp2p_secio",
commit = "6cb371175c430ef0d98ed06c0b1de4df275a2b2d",
importpath = "github.com/libp2p/go-libp2p-secio",
)
go_repository(
name = "com_github_libp2p_go_tcp_transport",
commit = "d8cd27e09a919868bf2a9bbe144453b974a35b3f",
importpath = "github.com/libp2p/go-tcp-transport",
)
go_repository(
name = "com_github_libp2p_go_libp2p_protocol",
commit = "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b",
importpath = "github.com/libp2p/go-libp2p-protocol",
)
go_repository(
name = "com_github_jbenet_goprocess",
commit = "b497e2f366b8624394fb2e89c10ab607bebdde0b",
importpath = "github.com/jbenet/goprocess",
)
go_repository(
name = "com_github_multiformats_go_multistream",
commit = "aea59cd120a7f60ed64cc98ffc1af2e6a84c470f",
importpath = "github.com/multiformats/go-multistream",
)
go_repository(
name = "com_github_libp2p_go_libp2p_loggables",
commit = "825bdca6800792bf8013c54670072023f58f2770",
importpath = "github.com/libp2p/go-libp2p-loggables",
)
go_repository(
name = "com_github_libp2p_go_libp2p_nat",
commit = "b2342fe96714ea4535cd80706967f7deab0706e9",
importpath = "github.com/libp2p/go-libp2p-nat",
)
go_repository(
name = "com_github_multiformats_go_multiaddr_dns",
commit = "78f39e8892d4f8c5c9f18679cc06d0b40ecab8cf",
importpath = "github.com/multiformats/go-multiaddr-dns",
)
go_repository(
name = "com_github_fd_go_nat",
commit = "bad65a492f32121a87197f4a085905c35e2a367e",
importpath = "github.com/fd/go-nat",
)
go_repository(
name = "com_github_whyrusleeping_go_logging",
commit = "0457bb6b88fc1973573aaf6b5145d8d3ae972390",
importpath = "github.com/whyrusleeping/go-logging",
)
go_repository(
name = "com_github_mattn_go_isatty",
commit = "6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c",
importpath = "github.com/mattn/go-isatty",
)
go_repository(
name = "com_github_libp2p_go_stream_muxer",
commit = "9c6bd93eecbbab56630bb2688bb435d9fd1dfeb1",
importpath = "github.com/libp2p/go-stream-muxer",
)
go_repository(
name = "com_github_libp2p_go_libp2p_transport_upgrader",
commit = "baf347fe2d1b8d138a9eccaebfacbb8d45f565ff",
importpath = "github.com/libp2p/go-libp2p-transport-upgrader",
)
go_repository(
name = "com_github_libp2p_go_testutil",
commit = "f967bbd5fcb7fb6337504e5d78c53c865e80733c",
importpath = "github.com/libp2p/go-testutil",
)
go_repository(
name = "com_github_whyrusleeping_go_smux_multistream",
commit = "c707bf3c25fa380b20b54907790efde288775938",
importpath = "github.com/whyrusleeping/go-smux-multistream",
)
go_repository(
name = "com_github_libp2p_go_maddr_filter",
commit = "57fd7e2ed649ba28b4f2c7bcab3a606e7cc4b12c",
importpath = "github.com/libp2p/go-maddr-filter",
)
go_repository(
name = "com_github_libp2p_go_libp2p_transport",
commit = "52a99afeb515360b51a5e357fedc925b2dcb1deb",
importpath = "github.com/libp2p/go-libp2p-transport",
)
go_repository(
name = "com_github_libp2p_go_addr_util",
commit = "56c6a7f748424cab4ff68da653ff01363e3cd745",
importpath = "github.com/libp2p/go-addr-util",
)
go_repository(
name = "com_github_libp2p_go_libp2p_interface_pnet",
commit = "86e6fc84b906599eac696308369896ece0ced63b",
importpath = "github.com/libp2p/go-libp2p-interface-pnet",
)
go_repository(
name = "com_github_libp2p_go_conn_security",
commit = "1f43a64c9d5d3796daca8d9e9dd2f2001272a706",
importpath = "github.com/libp2p/go-conn-security",
)
go_repository(
name = "com_github_whyrusleeping_timecache",
commit = "cfcb2f1abfee846c430233aef0b630a946e0a5a6",
importpath = "github.com/whyrusleeping/timecache",
)
go_repository(
name = "com_github_miekg_dns",
commit = "3e6e47bc11bc7f93f9e2f1c7bd6481ba4802808b",
importpath = "github.com/miekg/dns",
)
go_repository(
name = "com_github_opentracing_opentracing_go",
commit = "bd9c3193394760d98b2fa6ebb2291f0cd1d06a7d",
importpath = "github.com/opentracing/opentracing-go",
)
go_repository(
name = "com_github_libp2p_go_reuseport",
commit = "c2c3368efe65c8b85ddff6b278df5bef3ce235e2",
importpath = "github.com/libp2p/go-reuseport",
)
go_repository(
name = "com_github_huin_goupnp",
commit = "1395d1447324cbea88d249fbfcfd70ea878fdfca",
importpath = "github.com/huin/goupnp",
)
go_repository(
name = "com_github_spaolacci_murmur3",
commit = "f09979ecbc725b9e6d41a297405f65e7e8804acc",
importpath = "github.com/spaolacci/murmur3",
)
go_repository(
name = "com_github_jbenet_go_temp_err_catcher",
commit = "aac704a3f4f27190b4ccc05f303a4931fd1241ff",
importpath = "github.com/jbenet/go-temp-err-catcher",
)
go_repository(
name = "com_github_satori_go_uuid",
commit = "36e9d2ebbde5e3f13ab2e25625fd453271d6522e",
importpath = "github.com/satori/go.uuid",
)
go_repository(
name = "com_github_sirupsen_logrus",
importpath = "github.com/sirupsen/logrus",
commit = "e54a77765aca7bbdd8e56c1c54f60579968b2dc9",
)
go_repository(
name = "org_golang_x_sys",
commit = "3c6ecd8f22c6f40fbeec94c000a069d7d87c7624",
importpath = "golang.org/x/sys",
)
go_repository(
name = "com_github_whyrusleeping_yamux",
commit = "35d045d4429ecf19430a2b94efc590bc40f2f7af",
importpath = "github.com/whyrusleeping/yamux",
)
go_repository(
name = "com_github_libp2p_go_flow_metrics",
commit = "3b3bcfcf78f2dc0e85be13ef3c3adc64cc5a9347",
importpath = "github.com/libp2p/go-flow-metrics",
)
go_repository(
name = "com_github_libp2p_go_msgio",
commit = "d82125c9907e1365775356505f14277d47dfd4d6",
importpath = "github.com/libp2p/go-msgio",
)
go_repository(
name = "com_github_jackpal_gateway",
commit = "cbcf4e3f3baee7952fc386c8b2534af4d267c875",
importpath = "github.com/jackpal/gateway",
)
go_repository(
name = "com_github_whyrusleeping_multiaddr_filter",
commit = "e903e4adabd70b78bc9293b6ee4f359afb3f9f59",
importpath = "github.com/whyrusleeping/multiaddr-filter",
)
go_repository(
name = "com_github_libp2p_go_ws_transport",
commit = "0c9c253a870ece2182843290e616b8c103abb9c6",
importpath = "github.com/libp2p/go-ws-transport",
)
go_repository(
name = "org_golang_x_crypto",
commit = "a49355c7e3f8fe157a85be2f77e6e269a0f89602",
importpath = "golang.org/x/crypto",
)
go_repository(
name = "com_github_jackpal_go_nat_pmp",
commit = "28a68d0c24adce1da43f8df6a57340909ecd7fdd",
importpath = "github.com/jackpal/go-nat-pmp",
)
go_repository(
name = "com_github_libp2p_go_reuseport_transport",
commit = "3165117d78404111af975e3e9af2b54dd46f0819",
importpath = "github.com/libp2p/go-reuseport-transport",
)
go_repository(
name = "com_github_libp2p_go_sockaddr",
commit = "3c898fbfff40e5933d76362819727708dae6da97",
importpath = "github.com/libp2p/go-sockaddr",
)
go_repository(
name = "com_github_whyrusleeping_go_notifier",
commit = "097c5d47330ff6a823f67e3515faa13566a62c6f",
importpath = "github.com/whyrusleeping/go-notifier",
)
go_repository(
name = "com_github_gorilla_websocket",
commit = "5ed622c449da6d44c3c8329331ff47a9e5844f71",
importpath = "github.com/gorilla/websocket",
)
go_repository(
name = "com_github_whyrusleeping_go_smux_multiplex",
commit = "121cd99ce58b0b5a36d9630e3f673bce4733ac6f",
importpath = "github.com/whyrusleeping/go-smux-multiplex",
)
go_repository(
name = "com_github_gxed_eventfd",
commit = "80a92cca79a8041496ccc9dd773fcb52a57ec6f9",
importpath = "github.com/gxed/eventfd",
)
go_repository(
name = "com_github_whyrusleeping_go_multiplex",
commit = "015295179194cbcc2eb7e13504222749af868544",
importpath = "github.com/whyrusleeping/go-multiplex",
)
go_repository(
name = "com_github_gxed_goendian",
commit = "0f5c6873267e5abf306ffcdfcfa4bf77517ef4a7",
importpath = "github.com/gxed/GoEndian",
)
go_repository(
name = "com_github_syndtr_goleveldb",
commit = "c4c61651e9e37fa117f53c5a906d3b63090d8445",
importpath = "github.com/syndtr/goleveldb",
)