Commit 0a89c97f authored by Ihar Hrachyshka's avatar Ihar Hrachyshka
Browse files

python313Packages.zebrafy: handle pypdfium2 5.x

parent a514ef1f
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
  setuptools,
  setuptools-scm,
  pillow,
@@ -22,6 +23,14 @@ buildPythonPackage rec {
    hash = "sha256-B8jrFQh5swDMfYjdMcY0Hh2VAzknDwarDKVAML6F2r4=";
  };

  patches = [
    # fix compatibility with pypdfium2 5.x: https://github.com/miikanissi/zebrafy/pull/20
    (fetchpatch {
      url = "https://github.com/miikanissi/zebrafy/pull/20/commits/cc15c4a28d9e8aec022d22397ff752600b9ede52.patch";
      hash = "sha256-KAjfKPqmTvfoQN7YPLayPyq2sueDASyU/lMCgLCl1RU=";
    })
  ];

  build-system = [
    setuptools
    setuptools-scm