diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-12-11 16:26:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 16:26:48 +0100 |
commit | 4485f3f3fb6b4c1b9fb4ea6e79296ea8889d81a7 (patch) | |
tree | 22028209b3165360e511dbbbd42a97bae101c64c /pkgs/applications/office | |
parent | cdf0763af1373e240205a1ded89df48544629ac9 (diff) | |
parent | 435b0778e223c4b312f4f10b97dc723ff3cddac6 (diff) |
Merge pull request #272563 from ajaxbits/paperless-ngx-210-bump
paperless-ngx: 2.0.1 -> 2.1.1
Diffstat (limited to 'pkgs/applications/office')
-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..06bc88e5d0a2b 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.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"; |