waifu2x-converter-cpp: opencv3 -> opencv4

This commit is contained in:
Ben Darwin 2023-09-23 18:30:01 -04:00
parent 2fbd1b97f1
commit 381e03e03a

View File

@ -1,4 +1,4 @@
{ cmake, fetchFromGitHub, makeWrapper, opencv3, lib, stdenv, ocl-icd, opencl-headers, OpenCL
{ cmake, fetchFromGitHub, makeWrapper, opencv4, lib, stdenv, ocl-icd, opencl-headers, OpenCL
, config
, cudaSupport ? config.cudaSupport, cudatoolkit ? null
}:
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
opencv3
opencv4
] ++ lib.optional cudaSupport cudatoolkit
++ lib.optional stdenv.isDarwin OpenCL
++ lib.optionals stdenv.isLinux [ ocl-icd opencl-headers ];