python313Packages.pymupdf: refactor

This commit is contained in:
Tom Hunze
2025-11-15 18:34:20 +01:00
parent ed9beb7f26
commit 20668929d9
@@ -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
];