python313Packages.pymupdf: refactor
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user