Loading pkgs/development/python-modules/invisible-watermark/default.nix +2 −4 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, opencv4, opencv-python, torch, onnx, onnxruntime, Loading @@ -30,7 +30,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ opencv4 opencv-python torch pillow pywavelets Loading @@ -42,8 +42,6 @@ buildPythonPackage rec { ]; postPatch = '' substituteInPlace setup.py \ --replace 'opencv-python>=4.1.0.25' 'opencv' substituteInPlace imwatermark/rivaGan.py --replace \ 'You can install it with pip: `pip install onnxruntime`.' \ 'You can install it with an override: `python3Packages.invisible-watermark.override { withOnnx = true; };`.' Loading Loading
pkgs/development/python-modules/invisible-watermark/default.nix +2 −4 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, opencv4, opencv-python, torch, onnx, onnxruntime, Loading @@ -30,7 +30,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ opencv4 opencv-python torch pillow pywavelets Loading @@ -42,8 +42,6 @@ buildPythonPackage rec { ]; postPatch = '' substituteInPlace setup.py \ --replace 'opencv-python>=4.1.0.25' 'opencv' substituteInPlace imwatermark/rivaGan.py --replace \ 'You can install it with pip: `pip install onnxruntime`.' \ 'You can install it with an override: `python3Packages.invisible-watermark.override { withOnnx = true; };`.' Loading