python3Packages.tree-sitter: remove unused test dependencies
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user