git_repository(
name = "io_bazel_rules_go",
commit = "7828452850597b52b49ec603b23f8ad2bcb22aed",
)
load("@io_bazel_rules_go//go:def.bzl", "go_repositories", "new_go_repository")
go_repositories()
git_repository(
name = "org_pubref_rules_protobuf",
tag = "v0.7.1",
)
load("@org_pubref_rules_protobuf//go:rules.bzl", "go_proto_repositories")
go_proto_repositories()
new_go_repository(
name = "com_github_golang_glog",
commit = "23def4e6c14b4da8ac2ed8007337bc5eb5007998",
)
new_go_repository(
name = "com_github_golang_protobuf",
commit = "8ee79997227bf9b34611aee7946ae64735e6fd93",
)
new_go_repository(
name = "org_golang_google_genproto",
commit = "b3e7c2fb04031add52c4817f53f43757ccbf9c18",
)
new_go_repository(
name = "org_golang_google_grpc",
tag = "v1.0.4",
)
GOOGLEAPIS_BUILD_FILE = """
package(default_visibility = ["//visibility:public"])
WELL_KNOWN_PROTOS = [
"google/api/http.proto",
"google/api/annotations.proto",
]
filegroup(
name = "well_known_protos",
srcs = WELL_KNOWN_PROTOS,
visibility = ["//visibility:public"],
)
"""
new_git_repository(
name = "com_github_googleapis_googleapis",
build_file_content = GOOGLEAPIS_BUILD_FILE,
commit = "13ac2436c5e3d568bd0e938f6ed58b77a48aba15",
)