2 Star 0 Fork 0

morre/hbase_client

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
WORKSPACE 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
morre 提交于 2023-01-05 03:03 . !1Hello, World
workspace(name = "hbase_client")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# setup rules_python
http_archive(
name = "rules_python",
sha256 = "fda23c37fbacf7579f94d5e8f342d3a831140e9471b770782e83846117dd6596",
strip_prefix = "rules_python-0.15.0",
urls = ["https://github.com/bazelbuild/rules_python/archive/refs/tags/0.15.0.tar.gz"],
)
load("@rules_python//python:pip.bzl", "pip_parse")
# Create a central repo that knows about the dependencies needed from
# requirements_lock.txt.
pip_parse(
name = "pip_deps",
extra_pip_args = [
"--index-url",
"https://mirrors.cloud.tencent.com/pypi/simple",
"--extra-index-url",
"https://pypi.tuna.tsinghua.edu.cn/simple",
"--trusted-host",
"mirrors.cloud.tencent.com pypi.tuna.tsinghua.edu.cn",
"--timeout",
"120",
],
requirements_lock = "//:requirements.txt",
)
# Load the starlark macro which will define your dependencies.
load("@pip_deps//:requirements.bzl", "install_deps")
# Call it to define repos for your requirements.
install_deps()
# setup rules_proto
http_archive(
name = "rules_proto",
sha256 = "e017528fd1c91c5a33f15493e3a398181a9e821a804eb7ff5acdd1d2d6c2b18d",
strip_prefix = "rules_proto-4.0.0-3.20.0",
urls = ["https://github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0-3.20.0.tar.gz"],
)
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
# setup protobuf
http_archive(
name = "com_google_protobuf",
sha256 = "4a7e87e4166c358c63342dddcde6312faee06ea9d5bb4e2fa87d3478076f6639",
strip_prefix = "protobuf-21.5",
urls = ["https://github.com/protocolbuffers/protobuf/archive/refs/tags/v21.5.tar.gz"],
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/morre/hbase_client.git
git@gitee.com:morre/hbase_client.git
morre
hbase_client
hbase_client
master

搜索帮助