Merge pull request #326352 from leona-ya/paperless-ngx-2.11.0

paperless-ngx: 2.10.2 -> 2.11.0
This commit is contained in:
Leona Maroni 2024-07-22 10:59:55 +02:00 committed by GitHub
commit 8560d44477
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 17 deletions

View File

@ -24,13 +24,13 @@
}: }:
let let
version = "2.10.2"; version = "2.11.0";
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-LwWdgoVlZjL5o+T8zzU9jkYaQbdiZokrCGn8ZTIQ4OQ="; hash = "sha256-lKPjvWc6FcEOwDgIUW8Eki8h8C19G618o1rhXnrlw/E=";
}; };
# subpath installation is broken with uvicorn >= 0.26 # subpath installation is broken with uvicorn >= 0.26
@ -50,18 +50,6 @@ let
hash = "sha256-ng98DTw49zyFjrPnEwfnPfONyjKKZYuLl0qduxSppYk="; hash = "sha256-ng98DTw49zyFjrPnEwfnPfONyjKKZYuLl0qduxSppYk=";
}; };
}); });
djangorestframework = prev.djangorestframework.overridePythonAttrs (oldAttrs: rec {
version = "3.14.0";
src = oldAttrs.src.override {
rev = version;
hash = "sha256-Fnj0n3NS3SetOlwSmGkLE979vNJnYE6i6xwVBslpNz4=";
};
nativeCheckInputs = with prev; [
pytest7CheckHook
pytest-django
];
});
}; };
}; };
@ -86,7 +74,7 @@ let
cd src-ui cd src-ui
''; '';
npmDepsHash = "sha256-zmlYwlH2cnGbbKf6jt5zBLh0Iv3C9/xN0iA4xVetRNE="; npmDepsHash = "sha256-gbHavMUmsZaRSfBkdrrNpTO0R8zacb8110U8n5Y09oU=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
@ -231,6 +219,7 @@ python.pkgs.buildPythonApplication rec {
pytest-django pytest-django
pytest-env pytest-env
pytest-httpx pytest-httpx
pytest-mock
pytest-rerunfailures pytest-rerunfailures
pytest-xdist pytest-xdist
pytestCheckHook pytestCheckHook

View File

@ -9,7 +9,7 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "gotenberg-client"; pname = "gotenberg-client";
version = "0.5.0"; version = "0.6.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "stumpylog"; owner = "stumpylog";
repo = "gotenberg-client"; repo = "gotenberg-client";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-38s7XLCh55uXxu/Go04Ku/m4xeqAAa2sRe4SiqIXolU="; hash = "sha256-rF4msWYWgNUtOnMAB11vdAPNWZeAoeglnzMPWEM503I=";
}; };
nativeBuildInputs = [ hatchling ]; nativeBuildInputs = [ hatchling ];