Unverified Commit 20668929 authored by Tom Hunze's avatar Tom Hunze
Browse files

python313Packages.pymupdf: refactor

parent ed9beb7f
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -73,13 +73,16 @@ buildPythonPackage rec {
    unset LD
  '';

  nativeBuildInputs = [
  build-system = [
    libclang
    swig
    psutil
    setuptools
  ];

  dependencies = [
    mupdf-cxx-lib
  ];

  buildInputs = [
    freetype
    harfbuzz
@@ -89,8 +92,6 @@ buildPythonPackage rec {
    gumbo
  ];

  propagatedBuildInputs = [ mupdf-cxx-lib ];

  env = {
    # force using system MuPDF (must be defined in environment and empty)
    PYMUPDF_SETUP_MUPDF_BUILD = "";
@@ -110,11 +111,9 @@ buildPythonPackage rec {

  nativeCheckInputs = [
    pytestCheckHook
  ];

  checkInputs = [
    fonttools
    pillow
    psutil
    pymupdf-fonts
  ];