···27 xorg,
28}:
29let
30- version = "2.15.1";
3132 src = fetchFromGitHub {
33 owner = "paperless-ngx";
34 repo = "paperless-ngx";
35 tag = "v${version}";
36- hash = "sha256-vICkRfVxzQlqhSBCieVNSGeXb6FCOx0qOnInKMy6Lhg=";
37 };
3839- # subpath installation is broken with uvicorn >= 0.26
40- # https://github.com/NixOS/nixpkgs/issues/298719
41- # https://github.com/paperless-ngx/paperless-ngx/issues/5494
42 python = python3.override {
43 self = python;
44 packageOverrides = final: prev: {
45 django = prev.django_5;
46-47- django-extensions = prev.django-extensions.overridePythonAttrs (_: {
48- # fails with: TypeError: 'class Meta' got invalid attribute(s): index_together
49- # probably because of django_5 but it is the latest version available and used like that in paperless-ngx
50- doCheck = false;
51- });
5253 # tesseract5 may be overwritten in the paperless module and we need to propagate that to make the closure reduction effective
54 ocrmypdf = prev.ocrmypdf.override { tesseract = tesseract5; };
···27 xorg,
28}:
29let
30+ version = "2.15.2";
3132 src = fetchFromGitHub {
33 owner = "paperless-ngx";
34 repo = "paperless-ngx";
35 tag = "v${version}";
36+ hash = "sha256-3IGXjMVMSbpcdwEvJcMbFuQI9GYy1TY9NWAvum14UK4=";
37 };
3800039 python = python3.override {
40 self = python;
41 packageOverrides = final: prev: {
42 django = prev.django_5;
0000004344 # tesseract5 may be overwritten in the paperless module and we need to propagate that to make the closure reduction effective
45 ocrmypdf = prev.ocrmypdf.override { tesseract = tesseract5; };