diff --git a/pkgs/development/python-modules/manga-ocr/default.nix b/pkgs/development/python-modules/manga-ocr/default.nix index 5c6c54975353..3b159b798f46 100644 --- a/pkgs/development/python-modules/manga-ocr/default.nix +++ b/pkgs/development/python-modules/manga-ocr/default.nix @@ -8,15 +8,14 @@ with python3Packages; buildPythonPackage rec { pname = "manga-ocr"; - version = "0.1.13"; - disabled = pythonOlder "3.7"; + version = "0.1.14"; format = "pyproject"; src = fetchFromGitHub { owner = "kha-white"; repo = "manga-ocr"; tag = "v${version}"; - hash = "sha256-0EwXDMnA9SCmSsMVXnMenSFSzs74lorFNNym9y/NNsI="; + hash = "sha256-fCLgFeo6GYPSpCX229TK2MXTKt3p1tQV06phZYD6UeE="; }; build-system = [ @@ -37,15 +36,11 @@ buildPythonPackage rec { unidic-lite ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "numpy<2" "numpy" - ''; - meta = with lib; { + mainProgram = "manga_ocr"; description = "Optical character recognition for Japanese text, with the main focus being Japanese manga"; homepage = "https://github.com/kha-white/manga-ocr"; - changelog = "https://github.com/kha-white/manga-ocr/releases/tag/${version}"; + changelog = "https://github.com/kha-white/manga-ocr/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ laurent-f1z1 ]; };