mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
17 lines
486 B
TOML
17 lines
486 B
TOML
[source]
|
|
tar = "https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.25.8.tar.gz"
|
|
blake3 = "a9bce1e3c610441dc9d7dcc3d7d38e6a74e0b06d6b7d40e22982d927006dbfc4"
|
|
patches = [
|
|
"redox.patch"
|
|
]
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
COOKBOOK_CARGO_PATH=cli cookbook_cargo \
|
|
--config 'patch.crates-io.rustix.git = "https://github.com/bytecodealliance/rustix"' \
|
|
--config 'patch.crates-io.rustix.rev = "8bf15a0"'
|
|
cookbook_cmake "${COOKBOOK_SOURCE}"/lib
|
|
"""
|