diff options
Diffstat (limited to 'pkgs/applications/office/paperless-ngx')
-rw-r--r-- | pkgs/applications/office/paperless-ngx/default.nix | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/pkgs/applications/office/paperless-ngx/default.nix b/pkgs/applications/office/paperless-ngx/default.nix index a0764c940e3ad..a46498a0f0017 100644 --- a/pkgs/applications/office/paperless-ngx/default.nix +++ b/pkgs/applications/office/paperless-ngx/default.nix @@ -7,7 +7,7 @@ , python3 , giflib , darwin -, ghostscript +, ghostscript_headless , imagemagickBig , jbig2enc , optipng @@ -50,12 +50,24 @@ let hash = "sha256-ng98DTw49zyFjrPnEwfnPfONyjKKZYuLl0qduxSppYk="; }; }); + + djangorestframework = prev.djangorestframework.overridePythonAttrs (oldAttrs: rec { + version = "3.14.0"; + src = oldAttrs.src.override { + rev = version; + hash = "sha256-Fnj0n3NS3SetOlwSmGkLE979vNJnYE6i6xwVBslpNz4="; + }; + nativeCheckInputs = with prev; [ + pytest7CheckHook + pytest-django + ]; + }); }; }; path = lib.makeBinPath [ - ghostscript + ghostscript_headless imagemagickBig jbig2enc optipng @@ -248,6 +260,8 @@ python.pkgs.buildPythonApplication rec { # AssertionError: 10 != 4 (timezone/time issue) # Due to getting local time from modification date in test_consumer.py "testNormalOperation" + # Something broken with new Tesseract and inline RTL/LTR overrides? + "test_rtl_language_detection" ]; doCheck = !stdenv.isDarwin; |