paperless-ngx: 2.0.1 -> 2.1.0

This commit is contained in:
Alex Jackson
2023-12-07 16:36:48 -06:00
parent cb46697e2a
commit afbbb2c528
@@ -16,16 +16,18 @@
, poppler_utils
, liberation_ttf
, xcbuild
, pango
, pkg-config
}:
let
version = "2.0.1";
version = "2.1.0";
src = fetchFromGitHub {
owner = "paperless-ngx";
repo = "paperless-ngx";
rev = "refs/tags/v${version}";
hash = "sha256-qSX+r99y7a/eITfaC/UYqSgcxx/xYOqJ4tY/iuvoeNA=";
hash = "sha256-SRMrgwwRijAEO+Jv+c0la/eMB/ukEhejgs2fWUh0ynQ=";
};
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";