diff --git a/pkgs/development/python-modules/textdistance/default.nix b/pkgs/development/python-modules/textdistance/default.nix index 7a7ece1d97fe..7c01f93ae7ed 100644 --- a/pkgs/development/python-modules/textdistance/default.nix +++ b/pkgs/development/python-modules/textdistance/default.nix @@ -3,6 +3,9 @@ buildPythonPackage, fetchPypi, setuptools, + pytestCheckHook, + hypothesis, + numpy, }: buildPythonPackage (finalAttrs: { @@ -20,8 +23,13 @@ buildPythonPackage (finalAttrs: { build-system = [ setuptools ]; - # There aren't tests - doCheck = false; + nativeCheckInputs = [ + pytestCheckHook + hypothesis + numpy + ]; + + disabledTestPaths = [ "tests/test_external.py" ]; pythonImportsCheck = [ "textdistance" ];