paperless-ngx: 2.15.3 -> 2.16.1 (#408942)

This commit is contained in:
K900 2025-05-22 09:10:27 +03:00 committed by GitHub
commit ebcc1d6f28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 16 deletions

View file

@ -23,6 +23,7 @@ let
PAPERLESS_THUMBNAIL_FONT_NAME = defaultFont;
GRANIAN_HOST = cfg.address;
GRANIAN_PORT = toString cfg.port;
GRANIAN_WORKERS_KILL_TIMEOUT = "60";
}
// lib.optionalAttrs (config.time.timeZone != null) {
PAPERLESS_TIME_ZONE = config.time.timeZone;

View file

@ -26,13 +26,13 @@
xorg,
}:
let
version = "2.15.3";
version = "2.16.1";
src = fetchFromGitHub {
owner = "paperless-ngx";
repo = "paperless-ngx";
tag = "v${version}";
hash = "sha256-zkOOUMyAvYYJnYn4s7D4tsYhodVX5kvPdXBBknBsusY=";
hash = "sha256-wdcwSWaixNceVqrCXStf+0jnWbigd3k5FXRF0o2UbW0=";
};
python = python3.override {
@ -69,7 +69,7 @@ let
pnpmDeps = pnpm.fetchDeps {
inherit pname version src;
hash = "sha256-yoTXlxXLcWD2DMxqjb02ZORJ+E0xE1DbZm1VL7vXM4g=";
hash = "sha256-tSBpZ+1aPLUI0SKpOyKo+OLsJZiyDCxRb+5hKMPrxL8=";
};
nativeBuildInputs =
@ -149,15 +149,7 @@ python.pkgs.buildPythonApplication rec {
];
pythonRelaxDeps = [
"celery"
"django-allauth"
"django-extensions"
"drf-spectacular-sidecar"
"filelock"
"python-dotenv"
"rapidfuzz"
# TODO: https://github.com/NixOS/nixpkgs/pull/373099
"zxing-cpp"
];
dependencies =
@ -320,14 +312,14 @@ python.pkgs.buildPythonApplication rec {
tests = { inherit (nixosTests) paperless; };
};
meta = with lib; {
meta = {
description = "Tool to scan, index, and archive all of your physical documents";
homepage = "https://docs.paperless-ngx.com/";
changelog = "https://github.com/paperless-ngx/paperless-ngx/releases/tag/v${version}";
license = licenses.gpl3Only;
platforms = platforms.unix;
changelog = "https://github.com/paperless-ngx/paperless-ngx/releases/tag/${src.tag}";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix;
mainProgram = "paperless-ngx";
maintainers = with maintainers; [
maintainers = with lib.maintainers; [
leona
SuperSandro2000
erikarvstedt