From 3db8bbd41abcbcfaf12f3cd12bcf6b1d5c8484c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 2 Nov 2024 16:54:35 -0700 Subject: [PATCH] mokuro: use opencv-python --- pkgs/by-name/mo/mokuro/package.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pkgs/by-name/mo/mokuro/package.nix b/pkgs/by-name/mo/mokuro/package.nix index 7d8d44d6c5c3..d1b14f45c289 100644 --- a/pkgs/by-name/mo/mokuro/package.nix +++ b/pkgs/by-name/mo/mokuro/package.nix @@ -17,12 +17,6 @@ python3Packages.buildPythonApplication rec { fetchSubmodules = true; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail 'opencv-python' 'opencv' - ''; - - pythonRelaxDeps = [ "torchvision" ]; build-system = with python3Packages; [ setuptools-scm ]; @@ -33,7 +27,7 @@ python3Packages.buildPythonApplication rec { manga-ocr natsort numpy - opencv4 + opencv-python pillow pyclipper requests