2018-07-07 17:23:19 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_go",
|
|
|
|
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"],
|
|
|
|
sha256 = "ddedc7aaeb61f2654d7d7d4fd7940052ea992ccdb031b8f9797ed143ac7e8d43",
|
|
|
|
)
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
|
|
|
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 5, 2018
|
|
|
|
commit = "eb95493d32b6e1eb1cad63518637e1a958632389",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
2018-07-09 02:40:34 +00:00
|
|
|
name = "com_github_urfave_cli",
|
|
|
|
importpath = "github.com/urfave/cli",
|
|
|
|
commit = "8e01ec4cd3e2d84ab2fe90d8210528ffbb06d8ff",
|
2018-07-07 17:23:19 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_fjl_memsize",
|
|
|
|
importpath = "github.com/fjl/memsize",
|
|
|
|
commit = "ca190fb6ffbc076ff49197b7168a760f30182d2e",
|
|
|
|
)
|
2018-07-09 02:40:34 +00:00
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_mattn_go_colorable",
|
|
|
|
importpath = "github.com/mattn/go-colorable",
|
|
|
|
commit = "efa589957cd060542a26d2dd7832fd6a6c6c3ade",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_mattn_go_isatty",
|
|
|
|
importpath = "github.com/mattn/go-isatty",
|
|
|
|
commit = "6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c",
|
|
|
|
)
|