redox/recipes/wip/libs/other/tree-sitter/recipe.toml
2026-03-06 00:58:12 +07:00

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
"""