diff --git a/pkgs/development/python-modules/rapidfuzz/default.nix b/pkgs/development/python-modules/rapidfuzz/default.nix index 3c0ac6c0c7fc..94b6140a6a22 100644 --- a/pkgs/development/python-modules/rapidfuzz/default.nix +++ b/pkgs/development/python-modules/rapidfuzz/default.nix @@ -8,10 +8,8 @@ , ninja , scikit-build , setuptools -, jarowinkler , numpy , hypothesis -, jarowinkler-cpp , pandas , pytestCheckHook , rapidfuzz-cpp @@ -44,7 +42,6 @@ buildPythonPackage rec { dontUseCmakeConfigure = true; buildInputs = [ - jarowinkler-cpp rapidfuzz-cpp taskflow ]; @@ -60,10 +57,13 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - jarowinkler numpy ]; + preCheck = '' + export RAPIDFUZZ_IMPLEMENTATION=cpp + ''; + checkInputs = [ hypothesis pandas