Loading pkgs/applications/office/paperless-ngx/default.nix +10 −13 Original line number Diff line number Diff line Loading @@ -17,29 +17,19 @@ }: let version = "1.16.1"; version = "1.16.3"; src = fetchFromGitHub { owner = "paperless-ngx"; repo = "paperless-ngx"; rev = "refs/tags/v${version}"; hash = "sha256-KmCUViKyjS/1+PL48TOeamYjSkg4J6ywvHgcIhNtVss="; hash = "sha256-DudTg7d92/9WwaPtr2PrvojcGxZ8z3Z2oYA0LcrkxZI="; }; # Use specific package versions required by paperless-ngx python = python3.override { packageOverrides = self: super: { django = super.django_4; # Paperless tests fail with tika-client==0.1.0. Upstream WIP fix is at # https://github.com/paperless-ngx/paperless-ngx/pull/3617 tika-client = super.tika-client.overridePythonAttrs (oldAttrs: rec { version = "0.0.3"; src = oldAttrs.src.override { rev = version; hash = "sha256-IKPTQ4n/j/W292F0JpSEUC0X8E1tr961WEcNCN5ymoU="; }; }); }; }; Loading @@ -59,7 +49,7 @@ let pname = "paperless-ngx-frontend"; inherit version src; npmDepsHash = "sha256-GDdHlrU1x/uxDy4mwK7G4F9b7AJat3nhQESUpfDdKeE="; npmDepsHash = "sha256-rzIDivZTZZWt6kgLt8mstYmvv5TlC+O8O/g01+aLMHQ="; nativeBuildInputs = [ python3 Loading @@ -76,6 +66,13 @@ let "--" "--configuration" "production" ]; doCheck = true; checkPhase = '' runHook preCheck npm run test runHook postCheck ''; installPhase = '' runHook preInstall mkdir -p $out/lib/paperless-ui Loading Loading
pkgs/applications/office/paperless-ngx/default.nix +10 −13 Original line number Diff line number Diff line Loading @@ -17,29 +17,19 @@ }: let version = "1.16.1"; version = "1.16.3"; src = fetchFromGitHub { owner = "paperless-ngx"; repo = "paperless-ngx"; rev = "refs/tags/v${version}"; hash = "sha256-KmCUViKyjS/1+PL48TOeamYjSkg4J6ywvHgcIhNtVss="; hash = "sha256-DudTg7d92/9WwaPtr2PrvojcGxZ8z3Z2oYA0LcrkxZI="; }; # Use specific package versions required by paperless-ngx python = python3.override { packageOverrides = self: super: { django = super.django_4; # Paperless tests fail with tika-client==0.1.0. Upstream WIP fix is at # https://github.com/paperless-ngx/paperless-ngx/pull/3617 tika-client = super.tika-client.overridePythonAttrs (oldAttrs: rec { version = "0.0.3"; src = oldAttrs.src.override { rev = version; hash = "sha256-IKPTQ4n/j/W292F0JpSEUC0X8E1tr961WEcNCN5ymoU="; }; }); }; }; Loading @@ -59,7 +49,7 @@ let pname = "paperless-ngx-frontend"; inherit version src; npmDepsHash = "sha256-GDdHlrU1x/uxDy4mwK7G4F9b7AJat3nhQESUpfDdKeE="; npmDepsHash = "sha256-rzIDivZTZZWt6kgLt8mstYmvv5TlC+O8O/g01+aLMHQ="; nativeBuildInputs = [ python3 Loading @@ -76,6 +66,13 @@ let "--" "--configuration" "production" ]; doCheck = true; checkPhase = '' runHook preCheck npm run test runHook postCheck ''; installPhase = '' runHook preInstall mkdir -p $out/lib/paperless-ui Loading