Merge pull request #291284 from SuperSandro2000/paperless-ngx
paperless-ngx: 2.5.2 -> 2.5.3, cleanup dependencies
This commit is contained in:
commit
c0af4ccd0c
1 changed files with 7 additions and 77 deletions
|
@ -22,13 +22,13 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.5.2";
|
version = "2.5.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "paperless-ngx";
|
owner = "paperless-ngx";
|
||||||
repo = "paperless-ngx";
|
repo = "paperless-ngx";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-v6k9clKNBNb2MQp0BTrUL9zfY6SUKfzaaOycmV8RKyk=";
|
hash = "sha256-fZ5grVZjCVkCH6doeqBLHPh9mPvHkiz+QXi/OyoJhR4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
python = python3;
|
python = python3;
|
||||||
|
@ -99,30 +99,12 @@ python.pkgs.buildPythonApplication rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python.pkgs; [
|
propagatedBuildInputs = with python.pkgs; [
|
||||||
amqp
|
|
||||||
anyio
|
|
||||||
asgiref
|
|
||||||
async-timeout
|
|
||||||
attrs
|
|
||||||
autobahn
|
|
||||||
automat
|
|
||||||
billiard
|
|
||||||
bleach
|
bleach
|
||||||
celery
|
|
||||||
certifi
|
|
||||||
cffi
|
|
||||||
channels-redis
|
|
||||||
channels
|
channels
|
||||||
charset-normalizer
|
channels-redis
|
||||||
click
|
|
||||||
click-didyoumean
|
|
||||||
click-plugins
|
|
||||||
click-repl
|
|
||||||
coloredlogs
|
|
||||||
concurrent-log-handler
|
concurrent-log-handler
|
||||||
constantly
|
|
||||||
cryptography
|
|
||||||
dateparser
|
dateparser
|
||||||
|
django
|
||||||
django-allauth
|
django-allauth
|
||||||
django-auditlog
|
django-auditlog
|
||||||
django-celery-results
|
django-celery-results
|
||||||
|
@ -132,92 +114,41 @@ python.pkgs.buildPythonApplication rec {
|
||||||
django-filter
|
django-filter
|
||||||
django-guardian
|
django-guardian
|
||||||
django-multiselectfield
|
django-multiselectfield
|
||||||
django
|
|
||||||
djangorestframework-guardian2
|
|
||||||
djangorestframework
|
djangorestframework
|
||||||
|
djangorestframework-guardian2
|
||||||
drf-writable-nested
|
drf-writable-nested
|
||||||
filelock
|
filelock
|
||||||
flower
|
flower
|
||||||
gotenberg-client
|
gotenberg-client
|
||||||
gunicorn
|
gunicorn
|
||||||
h11
|
|
||||||
h2
|
|
||||||
hiredis
|
|
||||||
httptools
|
|
||||||
httpx
|
|
||||||
humanfriendly
|
|
||||||
humanize
|
|
||||||
hyperlink
|
|
||||||
idna
|
|
||||||
imap-tools
|
imap-tools
|
||||||
img2pdf
|
|
||||||
incremental
|
|
||||||
inotify-simple
|
|
||||||
inotifyrecursive
|
inotifyrecursive
|
||||||
joblib
|
|
||||||
langdetect
|
langdetect
|
||||||
lxml
|
|
||||||
msgpack
|
|
||||||
mysqlclient
|
mysqlclient
|
||||||
nltk
|
nltk
|
||||||
ocrmypdf
|
ocrmypdf
|
||||||
packaging
|
|
||||||
pathvalidate
|
pathvalidate
|
||||||
pdf2image
|
pdf2image
|
||||||
pikepdf
|
|
||||||
pillow
|
|
||||||
pluggy
|
|
||||||
portalocker
|
|
||||||
prompt-toolkit
|
|
||||||
psycopg2
|
psycopg2
|
||||||
pyasn1-modules
|
|
||||||
pyasn1
|
|
||||||
pycparser
|
|
||||||
pyopenssl
|
|
||||||
python-dateutil
|
python-dateutil
|
||||||
python-dotenv
|
python-dotenv
|
||||||
|
python-gnupg
|
||||||
python-ipware
|
python-ipware
|
||||||
python-magic
|
python-magic
|
||||||
python-gnupg
|
|
||||||
pytz
|
|
||||||
pyyaml
|
|
||||||
pyzbar
|
pyzbar
|
||||||
rapidfuzz
|
rapidfuzz
|
||||||
redis
|
redis
|
||||||
regex
|
|
||||||
reportlab
|
|
||||||
requests
|
|
||||||
scikit-learn
|
scikit-learn
|
||||||
scipy
|
|
||||||
setproctitle
|
setproctitle
|
||||||
service-identity
|
|
||||||
sniffio
|
|
||||||
sqlparse
|
|
||||||
threadpoolctl
|
|
||||||
tika-client
|
tika-client
|
||||||
tornado
|
|
||||||
tqdm
|
tqdm
|
||||||
twisted
|
|
||||||
txaio
|
|
||||||
tzdata
|
|
||||||
tzlocal
|
|
||||||
urllib3
|
|
||||||
uvicorn
|
uvicorn
|
||||||
uvloop
|
|
||||||
vine
|
|
||||||
watchdog
|
watchdog
|
||||||
watchfiles
|
|
||||||
wcwidth
|
|
||||||
webencodings
|
|
||||||
websockets
|
|
||||||
whitenoise
|
whitenoise
|
||||||
whoosh
|
whoosh
|
||||||
zipp
|
|
||||||
zope-interface
|
|
||||||
zxing-cpp
|
zxing-cpp
|
||||||
]
|
]
|
||||||
++ redis.optional-dependencies.hiredis
|
++ redis.optional-dependencies.hiredis
|
||||||
++ twisted.optional-dependencies.tls
|
|
||||||
++ uvicorn.optional-dependencies.standard;
|
++ uvicorn.optional-dependencies.standard;
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
|
@ -262,7 +193,6 @@ python.pkgs.buildPythonApplication rec {
|
||||||
pytest-rerunfailures
|
pytest-rerunfailures
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
reportlab
|
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
|
@ -280,7 +210,7 @@ python.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
# Disable unneeded code coverage test
|
# Disable unneeded code coverage test
|
||||||
substituteInPlace src/setup.cfg \
|
substituteInPlace src/setup.cfg \
|
||||||
--replace "--cov --cov-report=html --cov-report=xml" ""
|
--replace-fail "--cov --cov-report=html --cov-report=xml" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
|
Loading…
Reference in a new issue