waifu2x-converter-cpp: 5.2.4 -> 5.3.3

This commit is contained in:
Simon Bruder 2020-10-17 18:44:39 +02:00
parent a60ed8e2db
commit c69dd49995
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -1,16 +1,16 @@
{ cmake, fetchFromGitHub, opencv3, stdenv, opencl-headers
{ cmake, fetchFromGitHub, opencv3, stdenv, ocl-icd, opencl-headers
, cudaSupport ? false, cudatoolkit ? null
}:
stdenv.mkDerivation rec {
pname = "waifu2x-converter-cpp";
version = "5.2.4";
version = "5.3.3";
src = fetchFromGitHub {
owner = "DeadSix27";
repo = pname;
rev = "v${version}";
sha256 = "0r7xcjqbyaa20gsgmjj7645640g3nb2bn1pc1nlfplwlzjxmz213";
sha256 = "04r0xyjknvcwk70ilj1p3qwlcz3i6sqgcp0qbc9qwxnsgrrgz09w";
};
patchPhase = ''
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
'';
buildInputs = [
opencv3 opencl-headers
opencv3 opencl-headers ocl-icd
] ++ stdenv.lib.optional cudaSupport cudatoolkit;
nativeBuildInputs = [ cmake ];