Merge pull request #272563 from ajaxbits/paperless-ngx-210-bump

paperless-ngx: 2.0.1 -> 2.1.1
This commit is contained in:
Weijia Wang 2023-12-11 16:26:48 +01:00 committed by GitHub
commit 4485f3f3fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 6 deletions

View File

@ -605,6 +605,12 @@
githubId = 4717906;
name = "Jakub Skokan";
};
ajaxbits = {
email = "contact@ajaxbits.com";
github = "ajaxbits";
githubId = 45179933;
name = "Alex Jackson";
};
ajgrf = {
email = "a@ajgrf.com";
github = "ajgrf";

View File

@ -16,16 +16,18 @@
, poppler_utils
, liberation_ttf
, xcbuild
, pango
, pkg-config
}:
let
version = "2.0.1";
version = "2.1.1";
src = fetchFromGitHub {
owner = "paperless-ngx";
repo = "paperless-ngx";
rev = "refs/tags/v${version}";
hash = "sha256-qSX+r99y7a/eITfaC/UYqSgcxx/xYOqJ4tY/iuvoeNA=";
hash = "sha256-/f0al6OyYo8FTOWiNFoKUYWpY0nz3qFOB00QKIvS3Dk=";
};
python = python3;
@ -46,17 +48,22 @@ let
pname = "paperless-ngx-frontend";
inherit version src;
npmDepsHash = "sha256-uDaZ7j7IDgKy7wCWND2xzR1qHwUtdyjR4eyIAVy01dM=";
postPatch = ''
cd src-ui
'';
npmDepsHash = "sha256-K7wTYGGwEhPoXdRD+4swhSlMH0iem6YkF0tjnVHh7K8=";
nativeBuildInputs = [
pkg-config
python3
] ++ lib.optionals stdenv.isDarwin [
xcbuild
];
postPatch = ''
cd src-ui
'';
buildInputs = [
pango
];
CYPRESS_INSTALL_BINARY = "0";
NG_CLI_ANALYTICS = "false";