diff --git a/pkgs/development/python-modules/ufoprocessor/default.nix b/pkgs/development/python-modules/ufoprocessor/default.nix index 85b70833bd68..b0f5b11ad3a4 100644 --- a/pkgs/development/python-modules/ufoprocessor/default.nix +++ b/pkgs/development/python-modules/ufoprocessor/default.nix @@ -26,9 +26,14 @@ buildPythonPackage rec { mutatormath ]; - # tests require custom commands to run - doCheck = false; - pythonImportsCheck = [ "ufoProcessor" ]; + checkPhase = '' + runHook preCheck + for t in Tests/*.py; do + # https://github.com/LettError/ufoProcessor/issues/32 + [[ "$(basename "$t")" = "tests_fp.py" ]] || python "$t" + done + runHook postCheck + ''; meta = with lib; { description = "Read, write and generate UFOs with designspace data";