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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user