manga-ocr: relax 'numpy<2' constraint (#369936)

Fixes the build failure in #369935

I'll also create an upstream PR for the same.

As best I can tell, relaxing this constraint gives us a perfectly
working package. I've verified the application launches, and basic OCR
functionality works.
This commit is contained in:
Euan Kemp
2025-01-01 15:31:34 +01:00
committed by GitHub
parent cba4de366a
commit a7bb27e3cb
@@ -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";