Skip to content

Commit

Permalink
python3Packages.pymupdf: 1.25.1 -> 1.25.2
Browse files Browse the repository at this point in the history
  • Loading branch information
trofi committed Jan 23, 2025
1 parent cebe2f9 commit 42d80b7
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions pkgs/development/python-modules/pymupdf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
fetchpatch,
python,

# build-system
Expand Down Expand Up @@ -41,7 +42,7 @@ let
in
buildPythonPackage rec {
pname = "pymupdf";
version = "1.25.1";
version = "1.25.2";
pyproject = true;

disabled = pythonOlder "3.7";
Expand All @@ -50,9 +51,19 @@ buildPythonPackage rec {
owner = "pymupdf";
repo = "PyMuPDF";
tag = version;
hash = "sha256-kdu8CuQJ5+h8+PS66acWEfcttgALiD+JBoWWyGtjBzs=";
hash = "sha256-6XbHQ8PE9IF0kngUhYkFSGjwgt+r+19v+PeDAQin2Ko=";
};

patches = [
# Fix build against mupdf-1.25.3:
# https://github.com/pymupdf/PyMuPDF/pull/4248
(fetchpatch {
name = "mupdf-1.25.3.patch";
url = "https://github.com/pymupdf/PyMuPDF/commit/f42ef85058fee087d3f5e565f34a7657aad11240.patch";
hash = "sha256-X5JF8nPLj4uubdEdvUJ5aEf0yZkW+ks99pzua0vCrZc=";
})
];

# swig is not wrapped as Python package
# libclang calls itself just clang in wheel metadata
postPatch = ''
Expand Down

0 comments on commit 42d80b7

Please sign in to comment.