mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
paperless-ngx: 2.15.3 -> 2.16.1 (#408942)
This commit is contained in:
commit
ebcc1d6f28
2 changed files with 9 additions and 16 deletions
|
@ -23,6 +23,7 @@ let
|
||||||
PAPERLESS_THUMBNAIL_FONT_NAME = defaultFont;
|
PAPERLESS_THUMBNAIL_FONT_NAME = defaultFont;
|
||||||
GRANIAN_HOST = cfg.address;
|
GRANIAN_HOST = cfg.address;
|
||||||
GRANIAN_PORT = toString cfg.port;
|
GRANIAN_PORT = toString cfg.port;
|
||||||
|
GRANIAN_WORKERS_KILL_TIMEOUT = "60";
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs (config.time.timeZone != null) {
|
// lib.optionalAttrs (config.time.timeZone != null) {
|
||||||
PAPERLESS_TIME_ZONE = config.time.timeZone;
|
PAPERLESS_TIME_ZONE = config.time.timeZone;
|
||||||
|
|
|
@ -26,13 +26,13 @@
|
||||||
xorg,
|
xorg,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "2.15.3";
|
version = "2.16.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "paperless-ngx";
|
owner = "paperless-ngx";
|
||||||
repo = "paperless-ngx";
|
repo = "paperless-ngx";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-zkOOUMyAvYYJnYn4s7D4tsYhodVX5kvPdXBBknBsusY=";
|
hash = "sha256-wdcwSWaixNceVqrCXStf+0jnWbigd3k5FXRF0o2UbW0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
python = python3.override {
|
python = python3.override {
|
||||||
|
@ -69,7 +69,7 @@ let
|
||||||
|
|
||||||
pnpmDeps = pnpm.fetchDeps {
|
pnpmDeps = pnpm.fetchDeps {
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
hash = "sha256-yoTXlxXLcWD2DMxqjb02ZORJ+E0xE1DbZm1VL7vXM4g=";
|
hash = "sha256-tSBpZ+1aPLUI0SKpOyKo+OLsJZiyDCxRb+5hKMPrxL8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
|
@ -149,15 +149,7 @@ python.pkgs.buildPythonApplication rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
"celery"
|
|
||||||
"django-allauth"
|
"django-allauth"
|
||||||
"django-extensions"
|
|
||||||
"drf-spectacular-sidecar"
|
|
||||||
"filelock"
|
|
||||||
"python-dotenv"
|
|
||||||
"rapidfuzz"
|
|
||||||
# TODO: https://github.com/NixOS/nixpkgs/pull/373099
|
|
||||||
"zxing-cpp"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
dependencies =
|
dependencies =
|
||||||
|
@ -320,14 +312,14 @@ python.pkgs.buildPythonApplication rec {
|
||||||
tests = { inherit (nixosTests) paperless; };
|
tests = { inherit (nixosTests) paperless; };
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Tool to scan, index, and archive all of your physical documents";
|
description = "Tool to scan, index, and archive all of your physical documents";
|
||||||
homepage = "https://docs.paperless-ngx.com/";
|
homepage = "https://docs.paperless-ngx.com/";
|
||||||
changelog = "https://github.com/paperless-ngx/paperless-ngx/releases/tag/v${version}";
|
changelog = "https://github.com/paperless-ngx/paperless-ngx/releases/tag/${src.tag}";
|
||||||
license = licenses.gpl3Only;
|
license = lib.licenses.gpl3Only;
|
||||||
platforms = platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
mainProgram = "paperless-ngx";
|
mainProgram = "paperless-ngx";
|
||||||
maintainers = with maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
leona
|
leona
|
||||||
SuperSandro2000
|
SuperSandro2000
|
||||||
erikarvstedt
|
erikarvstedt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue