python3Packages.tree-sitter: remove unused test dependencies

This commit is contained in:
Gutyina Gergő
2025-08-28 10:06:31 +02:00
parent f7570e0dc7
commit ff4b51cb26
@@ -6,13 +6,6 @@
# build-system
setuptools,
# tests
tree-sitter-python,
tree-sitter-rust,
tree-sitter-html,
tree-sitter-javascript,
tree-sitter-json,
}:
buildPythonPackage rec {
@@ -32,26 +25,8 @@ buildPythonPackage rec {
build-system = [ setuptools ];
nativeCheckInputs = [
tree-sitter-python
tree-sitter-rust
tree-sitter-html
tree-sitter-javascript
tree-sitter-json
];
pythonImportsCheck = [ "tree_sitter" ];
preCheck = ''
# https://github.com/NixOS/nixpkgs/issues/255262#issuecomment-1721265871
rm -r tree_sitter
'';
disabledTests = [
# test fails in nix sandbox
"test_dot_graphs"
];
meta = {
description = "Python bindings to the Tree-sitter parsing library";
homepage = "https://github.com/tree-sitter/py-tree-sitter";