diff options
author | Alex Jackson <contact@ajaxbits.com> | 2023-12-06 16:35:40 -0600 |
---|---|---|
committer | Alex Jackson <contact@ajaxbits.com> | 2023-12-07 16:36:48 -0600 |
commit | afbbb2c528e4782214fdfed50b17bccddcf9003b (patch) | |
tree | a43c66e21fdbcfcb1f3039ee7922b48f11c82bf4 /pkgs/applications/office/paperless-ngx | |
parent | cb46697e2a479ee6873cd22a3039360dc376064d (diff) |
paperless-ngx: 2.0.1 -> 2.1.0
Diffstat (limited to 'pkgs/applications/office/paperless-ngx')
-rw-r--r-- | pkgs/applications/office/paperless-ngx/default.nix | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/pkgs/applications/office/paperless-ngx/default.nix b/pkgs/applications/office/paperless-ngx/default.nix index 129c700e19c75..99a669b1e4048 100644 --- a/pkgs/applications/office/paperless-ngx/default.nix +++ b/pkgs/applications/office/paperless-ngx/default.nix @@ -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"; |