tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.invisible-watermark: use opencv-python
Robert Schütz
1 year ago
9e03a278
9985ebb0
+2
-4
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
invisible-watermark
default.nix
+2
-4
pkgs/development/python-modules/invisible-watermark/default.nix
···
4
4
buildPythonPackage,
5
5
pythonOlder,
6
6
fetchFromGitHub,
7
7
-
opencv4,
7
7
+
opencv-python,
8
8
torch,
9
9
onnx,
10
10
onnxruntime,
···
30
30
31
31
propagatedBuildInputs =
32
32
[
33
33
-
opencv4
33
33
+
opencv-python
34
34
torch
35
35
pillow
36
36
pywavelets
···
42
42
];
43
43
44
44
postPatch = ''
45
45
-
substituteInPlace setup.py \
46
46
-
--replace 'opencv-python>=4.1.0.25' 'opencv'
47
45
substituteInPlace imwatermark/rivaGan.py --replace \
48
46
'You can install it with pip: `pip install onnxruntime`.' \
49
47
'You can install it with an override: `python3Packages.invisible-watermark.override { withOnnx = true; };`.'