Files
eagle0/WORKSPACE
T
adminandGitHub ec4802a29f Import dlls (#3105)
* install apple plugin

* start setting up bluetooth prefs

* basic test connection

* build the plugins from the webhook
2023-12-12 18:08:56 -08:00

146 lines
3.7 KiB
Python

workspace(name = "net_eagle0")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
#
# grpc
#
grpc_version = "1.53.0"
grpc_sha = "9717ffc52120861136e478155c2ff3a9c21740e2244de52fa966f376d7471adf"
http_archive(
name = "com_github_grpc_grpc",
sha256 = grpc_sha,
strip_prefix = "grpc-%s" % grpc_version,
urls = [
"https://github.com/grpc/grpc/archive/refs/tags/v%s.tar.gz" % grpc_version,
],
)
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
#
# Flatbuffers
#
flatbuffers_version = "2.0.8"
flatbuffers_sha = "80af25a873bebba60067a1529c03edcc5fc5486c3402354c03a80a5279da5dca"
http_archive(
name = "com_github_google_flatbuffers",
sha256 = flatbuffers_sha,
strip_prefix = "flatbuffers-%s" % flatbuffers_version,
urls = [
"https://github.com/google/flatbuffers/archive/v%s.zip" % flatbuffers_version,
],
)
#
# gtest
#
gtest_commit = "5ab508a01f9eb089207ee87fd547d290da39d015"
gtest_sha = "755f9a39bc7205f5a0c428e920ddad092c33c8a1b46997def3f1d4a82aded6e1"
http_archive(
name = "com_github_gtest",
sha256 = gtest_sha,
strip_prefix = "googletest-%s" % gtest_commit,
urls = ["https://github.com/google/googletest/archive/%s.zip" % gtest_commit],
)
#
# Scala support
#
rules_scala_version = "6.2.0"
rules_scala_sha = "ae4e74b6c696f40544cafb06b26bf4e601f83a0f29fb6500f0275c988f8cfe40"
scala_version = "2.13.12"
http_archive(
name = "io_bazel_rules_scala",
sha256 = rules_scala_sha,
strip_prefix = "rules_scala-%s" % rules_scala_version,
url = "https://github.com/bazelbuild/rules_scala/releases/download/v%s/rules_scala-v%s.tar.gz" % (rules_scala_version, rules_scala_version),
)
load("@io_bazel_rules_scala//:scala_config.bzl", "scala_config")
scala_config(scala_version = scala_version)
load("//tools:toolchains.bzl", "scala_register_unused_deps_and_opts_toolchains")
scala_register_unused_deps_and_opts_toolchains()
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories")
scala_repositories()
load("@io_bazel_rules_scala//scala_proto:scala_proto.bzl", "scala_proto_repositories")
scala_proto_repositories()
load("@io_bazel_rules_scala//scala_proto:toolchains.bzl", "scala_proto_register_toolchains")
scala_proto_register_toolchains()
load("@io_bazel_rules_scala//testing:scalatest.bzl", "scalatest_repositories", "scalatest_toolchain")
scalatest_repositories()
scalatest_toolchain()
#
# parallel-hashmap
#
parallel_hashmap_version = "1.3.11"
parallel_hashmap_sha = "dda75744fe879bf6fb12d165985531a0f0add2d7f5dbc0e849a614149f2c19d5"
http_archive(
name = "parallel_hashmap",
build_file_content = """
cc_library(
name = "parallel_hashmap",
hdrs = glob(["parallel_hashmap/*.h"]),
visibility = ["//visibility:public"],
)
""",
sha256 = parallel_hashmap_sha,
strip_prefix = "parallel-hashmap-%s" % parallel_hashmap_version,
url = "https://github.com/greg7mdp/parallel-hashmap/archive/refs/tags/v%s.zip" % parallel_hashmap_version,
)
#
# Plugins for the native code for interacting with GoDice
#
unity_godice_commit = "334179084199b565544f3f56a1248beb1785b3e9"
unity_godice_sha = "bc13c13b45c4312d2d00134ab31181c41eeeaf14dce8bb872f780d0aaf62868e"
http_archive(
name = "net_eagle0_unity_godice",
sha256 = unity_godice_sha,
strip_prefix = "godice-framework-%s" % unity_godice_commit,
urls = [
"https://github.com/nolen777/godice-framework/archive/%s.zip" % unity_godice_commit,
],
)