File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed
pkgs/by-name/pa/paperless-ngx Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 fetchFromGitHub ,
5- fetchpatch2 ,
65 buildNpmPackage ,
76 nodejs_20 ,
87 nixosTests ,
2625 nltk-data ,
2726 xorg ,
2827} :
29-
3028let
31- version = "2.13.5 " ;
29+ version = "2.14.4 " ;
3230
3331 src = fetchFromGitHub {
3432 owner = "paperless-ngx" ;
3533 repo = "paperless-ngx" ;
36- rev = "refs/tags/ v${ version } " ;
37- hash = "sha256-AVfm5tC2+hTdEv0ildEj0El1M/sF7ftkEn3pUkG1O7Q =" ;
34+ tag = "v${ version } " ;
35+ hash = "sha256-asjTRjEMnJcmyAZNZQ+VxXeyGc+j0j1JAAOrOaQ7ma4 =" ;
3836 } ;
3937
4038 # subpath installation is broken with uvicorn >= 0.26
8886 cd src-ui
8987 '' ;
9088
91- npmDepsHash = "sha256-pBCWcdCTQh0N4pRLBWLZXybuhpiat030xvPZ5z7CUJ0 =" ;
89+ npmDepsHash = "sha256-JUmYSHHrNWpJNp01Er2zMgiVVIIOAC+QlKw1HAjD7/E =" ;
9290
9391 nativeBuildInputs =
9492 [
@@ -138,14 +136,6 @@ python.pkgs.buildPythonApplication rec {
138136
139137 inherit version src ;
140138
141- patches = [
142- ( fetchpatch2 {
143- name = "ocrmypdf-16.6-compat.patch" ;
144- url = "https://github.com/paperless-ngx/paperless-ngx/commit/d1f255a22ea53712cb9101277ec57ea1976f9c02.patch?full_index=1" ;
145- hash = "sha256-V2nnNeNCcfSrjOttQ5rgDj7gnxpfpBPVeDDnMea0C3U=" ;
146- } )
147- ] ;
148-
149139 postPatch = ''
150140 # pytest-xdist with to many threads makes the tests flaky
151141 if (( $NIX_BUILD_CORES > 4)); then
@@ -215,6 +205,7 @@ python.pkgs.buildPythonApplication rec {
215205 whoosh
216206 zxing-cpp
217207 ]
208+ ++ django-allauth . optional-dependencies . mfa
218209 ++ django-allauth . optional-dependencies . socialaccount
219210 ++ redis . optional-dependencies . hiredis
220211 ++ uvicorn . optional-dependencies . standard ;
You can’t perform that action at this time.
0 commit comments