50 lines
1.4 KiB
Python
50 lines
1.4 KiB
Python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
# http_archive(
|
|
# name = "bazel_pkg_config",
|
|
# strip_prefix = "bazel_pkg_config-master",
|
|
# urls = ["https://github.com/cherrry/bazel_pkg_config/archive/master.zip"],
|
|
# )
|
|
|
|
# To find additional information on this release or newer ones visit:
|
|
# https://github.com/bazelbuild/rules_rust/releases
|
|
http_archive(
|
|
name = "rules_rust",
|
|
integrity = "sha256-Weev1uz2QztBlDA88JX6A1N72SucD1V8lBsaliM0TTg=",
|
|
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.48.0/rules_rust-v0.48.0.tar.gz"],
|
|
)
|
|
|
|
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
|
|
|
|
rules_rust_dependencies()
|
|
rust_register_toolchains()
|
|
|
|
rust_register_toolchains(
|
|
edition = "2021",
|
|
versions = [
|
|
"1.79.0"
|
|
],
|
|
)
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:local.bzl", "local_repository")
|
|
local_repository(
|
|
name = "bazel_pkg_config",
|
|
path = "../../bazel_pkg_config",
|
|
)
|
|
|
|
load("@bazel_pkg_config//:pkg_config.bzl", "pkg_config")
|
|
|
|
pkg_config(name = "ImageMagick")
|
|
pkg_config(name = "MagickWand")
|
|
pkg_config(name = "freetype2")
|
|
pkg_config(name = "libbsd")
|
|
pkg_config(name = "libgif")
|
|
pkg_config(name = "libtiff-4")
|
|
pkg_config(name = "pango")
|
|
pkg_config(name = "pangoxft")
|
|
pkg_config(name = "x11")
|
|
pkg_config(name = "xinerama")
|
|
pkg_config(name = "xmu")
|
|
pkg_config(name = "xpm")
|
|
|