paperless-ngx: 1.8.0 -> 1.9.1

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes 2022-09-21 16:45:21 +02:00
parent 83df2f2a9f
commit e79ac56275

View File

@ -26,17 +26,12 @@ let
src = fetchFromGitHub {
owner = "paperless-ngx";
repo = "django-q";
sha256 = "sha256-aoDuPig8Nf8fLzn7GjBn69aF2zH2l8gxascAu9lIG3U=";
rev = "71abc78fdaec029cf71e9849a3b0fa084a1678f7";
hash = "sha256-alu7tZwUn77xhUF9c/aGmwRwO//mR/FucXjvXUl/6ek=";
rev = "8b5289d8caf36f67fb99448e76ead20d5b498c1b";
};
# due to paperless-ngx modification of the pyproject.toml file
# the patch is not needed any more
patches = [];
});
# django-extensions 3.1.5 is required, but its tests are incompatible with Django 4
django-extensions = super.django-extensions.overridePythonAttrs (_: {
doCheck = false;
patches = [ ];
});
aioredis = super.aioredis.overridePythonAttrs (oldAttrs: rec {
@ -62,12 +57,12 @@ let
in
python.pkgs.pythonPackages.buildPythonApplication rec {
pname = "paperless-ngx";
version = "1.8.0";
version = "1.9.1";
# Fetch the release tarball instead of a git ref because it contains the prebuilt fontend
src = fetchurl {
url = "https://github.com/paperless-ngx/paperless-ngx/releases/download/v${version}/${pname}-v${version}.tar.xz";
hash = "sha256-BLfhh04RvBJFRQiPXkMl8XlWqZOWKmjjl+6lZ326stU=";
hash = "sha256-KWq3zUES8klXexNO9krlqZKZEajOhkTHF13t/3rxrPc=";
};
format = "other";
@ -116,6 +111,7 @@ python.pkgs.pythonPackages.buildPythonApplication rec {
inotifyrecursive
joblib
langdetect
pkgs.libmysqlclient
lxml
msgpack
numpy