python310Packages.pymupdf 0 -> 1 attrpath: python310Packages.pymupdf Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/ma4n8an7p45dkprky1p2qyzjypjpgx9p-packages.json.drv building '/nix/store/ma4n8an7p45dkprky1p2qyzjypjpgx9p-packages.json.drv'... Going to be running update for following packages: - python3.10-pymupdf-1.23.3 Press Enter key to continue... Running update for: - python3.10-pymupdf-1.23.3: UPDATING ... - python3.10-pymupdf-1.23.3: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/pymupdf/default.nix b/pkgs/development/python-modules/pymupdf/default.nix index d7e69706e51f..a18926b80dc8 100644 --- a/pkgs/development/python-modules/pymupdf/default.nix +++ b/pkgs/development/python-modules/pymupdf/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "pymupdf"; - version = "1.23.3"; + version = "1.23.6"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "PyMuPDF"; inherit version; - hash = "sha256-AhR4rmx26IWSQdu5cGEskIColX2L1pe7oLRTHcHPT4c="; + hash = "sha256-YYuOiEGQrBzKnfHGN/h2adLVMtQh1O5+R2PISNxPOh4="; }; postPatch = '' No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python310Packages.pymupdf nix build failed. The above exception was the direct cause of the following exception: Traceback (most recent call last): scripts/mupdfwrap.py:6:(): wrap.__main__.main() scripts/wrap/__main__.py:2902:main(): jlib.exception_info() ^except raise: scripts/wrap/__main__.py:2900:main(): main2() scripts/wrap/__main__.py:2310:main2(): build( build_dirs, swig_command, args, vs_upgrade) scripts/wrap/__main__.py:1577:build(): build_0( scripts/wrap/__main__.py:1375:build_0(): cpp.cpp_source( scripts/wrap/cpp.py:4658:cpp_source(): raise Exception(f'libclang does not appear to be installed') from e Exception: libclang does not appear to be installed Traceback (most recent call last): File "/build/PyMuPDF-1.23.6/nix_run_setup", line 8, in exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec')) File "setup.py", line 1247, in p.handle_argv(sys.argv) File "/build/PyMuPDF-1.23.6/pipcl.py", line 989, in handle_argv elif command == 'bdist_wheel': self.build_wheel(opt_dist_dir) File "/build/PyMuPDF-1.23.6/pipcl.py", line 587, in build_wheel items = self._call_fn_build(config_settings) File "/build/PyMuPDF-1.23.6/pipcl.py", line 734, in _call_fn_build ret = self.fn_build() File "setup.py", line 657, in build mupdf_build_dir = build_mupdf_unix( mupdf_local, env_extra, build_type) File "setup.py", line 896, in build_mupdf_unix subprocess.run( command, shell=True, check=True) File "/nix/store/s6fgyqbk8vn1014daznm5kqx90xdn86x-python3-3.10.13/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'cd /build/PyMuPDF-1.23.6/mupdf-1.23.5-source && XCFLAGS=-DTOFU_CJK_EXT /nix/store/s6fgyqbk8vn1014daznm5kqx90xdn86x-python3-3.10.13/bin/python3.10 ./scripts/mupdfwrap.py -d build/PyMuPDF-x86_64-linux-x86_64-shared-tesseract-release -b all && echo /build/PyMuPDF-1.23.6/mupdf-1.23.5-source/build/PyMuPDF-x86_64-linux-x86_64-shared-tesseract-release: && ls -l /build/PyMuPDF-1.23.6/mupdf-1.23.5-source/build/PyMuPDF-x86_64-linux-x86_64-shared-tesseract-release' returned non-zero exit status 1. /nix/store/bbxdw4rgwwl3gnajri82yidr1nlsfskf-stdenv-linux/setup: line 1596: pop_var_context: head of shell_variables not a function context