86 lines
2.8 KiB
Python
86 lines
2.8 KiB
Python
workspace(name = "abrasion")
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
http_archive(
|
|
name = "rules_rust",
|
|
strip_prefix = "rules_rust-feaeb7ab712da45c1c94f7950e799d79e367ddeb",
|
|
sha256 = "4f7c843aae20fd50832252c85c9d5f350e38a40c5dea7593555e579952b8d449",
|
|
urls = [
|
|
"https://github.com/bazelbuild/rules_rust/archive/feaeb7ab712da45c1c94f7950e799d79e367ddeb.tar.gz",
|
|
],
|
|
)
|
|
|
|
load("@rules_rust//rust:repositories.bzl", "rust_repositories")
|
|
rust_repositories(
|
|
version = "nightly",
|
|
iso_date = "2020-12-31",
|
|
edition = "2018",
|
|
)
|
|
|
|
load("//third_party/shaderc:deps.bzl", "shaderc_deps")
|
|
shaderc_deps()
|
|
|
|
http_archive(
|
|
name = "rules_pkg",
|
|
urls = [
|
|
"https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
|
|
],
|
|
sha256 = "352c090cc3d3f9a6b4e676cf42a6047c16824959b438895a76c2989c6d7c246a",
|
|
)
|
|
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
|
|
rules_pkg_dependencies()
|
|
|
|
http_archive(
|
|
name = "com_github_google_flatbuffers",
|
|
sha256 = "1c1b7ae5bf4763f2fabc42002c4cfa70160b79ec33cac8cc59d2d5ab83ffe260",
|
|
strip_prefix = "flatbuffers-ac203b20926b13a35ff85277d2e5d3c38698eee8",
|
|
urls = [
|
|
"https://github.com/google/flatbuffers/archive/ac203b20926b13a35ff85277d2e5d3c38698eee8.tar.gz",
|
|
],
|
|
patches = [
|
|
"//third_party/flatbuffers:bashless.diff",
|
|
],
|
|
patch_args = ["-p1"],
|
|
)
|
|
|
|
http_archive(
|
|
name = "com_github_q3k_q3d",
|
|
sha256 = "7631310022b09447279ac227cf84045b8b552f9c863d6fe17d459e506058a9b7",
|
|
strip_prefix = "q3d-360206ac7487da4a6d86fd22f9e74e8731454f43",
|
|
urls = [
|
|
"https://github.com/q3k/q3d/archive/360206ac7487da4a6d86fd22f9e74e8731454f43.tar.gz",
|
|
],
|
|
build_file = "//third_party/q3d:BUILD",
|
|
)
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
http_archive(
|
|
name = "io_bazel_rules_go",
|
|
sha256 = "69de5c704a05ff37862f7e0f5534d4f479418afc21806c887db544a316f3cb6b",
|
|
urls = [
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz",
|
|
"https://github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz",
|
|
],
|
|
)
|
|
|
|
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
|
|
|
|
go_rules_dependencies()
|
|
|
|
go_register_toolchains(version = "1.16")
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
http_archive(
|
|
name = "com_google_protobuf",
|
|
sha256 = "9748c0d90e54ea09e5e75fb7fac16edce15d2028d4356f32211cfa3c0e956564",
|
|
strip_prefix = "protobuf-3.11.4",
|
|
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.11.4.zip"],
|
|
)
|
|
|
|
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
|
|
|
|
protobuf_deps() |