diff --git a/pkgs/development/python-modules/manga-ocr/default.nix b/pkgs/development/python-modules/manga-ocr/default.nix index 892e3b43a20c..3c8ea272b7a5 100644 --- a/pkgs/development/python-modules/manga-ocr/default.nix +++ b/pkgs/development/python-modules/manga-ocr/default.nix @@ -37,6 +37,11 @@ buildPythonPackage rec { unidic-lite ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "numpy<2" "numpy" + ''; + meta = with lib; { description = "Optical character recognition for Japanese text, with the main focus being Japanese manga"; homepage = "https://github.com/kha-white/manga-ocr";