diff --git a/pkgs/development/python-modules/tree-sitter/default.nix b/pkgs/development/python-modules/tree-sitter/default.nix index 300366a8a4d0..dea949d793df 100644 --- a/pkgs/development/python-modules/tree-sitter/default.nix +++ b/pkgs/development/python-modules/tree-sitter/default.nix @@ -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";