about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorMoritz 'e1mo' Fromm <git@e1mo.de>2023-02-27 19:28:45 +0100
committerMoritz 'e1mo' Fromm <git@e1mo.de>2023-02-27 19:35:01 +0100
commit3ee30ec4027738cf0ed5e0921657651f18702197 (patch)
tree63c1a5f480cf5c1715c3bd71ff9f6122c6f3028a /pkgs/applications/office
parentd928451e6d9d5ff6dd0d117e3fadc620d4609b3a (diff)
paperless-ngx: 1.12.2 -> 1.13.0
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/paperless-ngx/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/office/paperless-ngx/default.nix b/pkgs/applications/office/paperless-ngx/default.nix
index b27c415815636..f4535b59cf89e 100644
--- a/pkgs/applications/office/paperless-ngx/default.nix
+++ b/pkgs/applications/office/paperless-ngx/default.nix
@@ -17,13 +17,13 @@
 }:
 
 let
-  version = "1.12.2";
+  version = "1.13.0";
 
   src = fetchFromGitHub {
     owner = "paperless-ngx";
     repo = "paperless-ngx";
     rev = "refs/tags/v${version}";
-    hash = "sha256-1QufnRD2Nbc4twRZ4Yrf3ae1BRGves8tJ/M7coWnRPI=";
+    hash = "sha256-aIJWEZD98tjfNDQjQfxRR1kOJ4P/fxZP8sw1dKy7apw=";
   };
 
   # Use specific package versions required by paperless-ngx
@@ -93,7 +93,7 @@ let
     pname = "paperless-ngx-frontend";
     inherit version src;
 
-    npmDepsHash = "sha256-fp0Gy3018u2y6jaUM9bmXU0SVjyEJdsvkBqbmb8S10Y=";
+    npmDepsHash = "sha256-es9x7KR5S7E8KjYWq8ie/EwlAy6zrDvySYQi1vy08Wc=";
 
     nativeBuildInputs = [
       python3
@@ -157,6 +157,7 @@ python.pkgs.buildPythonApplication rec {
     dateparser
     django-celery-results
     django-cors-headers
+    django-compression-middleware
     django-extensions
     django-filter
     django
@@ -295,7 +296,7 @@ python.pkgs.buildPythonApplication rec {
 
     # Disable unneeded code coverage test
     substituteInPlace src/setup.cfg \
-      --replace "--cov --cov-report=html" ""
+      --replace "--cov --cov-report=html --cov-report=xml" ""
     # OCR on NixOS recognizes the space in the picture, upstream CI doesn't.
     # See https://github.com/paperless-ngx/paperless-ngx/pull/2216
     substituteInPlace src/paperless_tesseract/tests/test_parser.py \