10 , cudaSupport ? config.cudaSupport
14 stdenv.mkDerivation rec {
15 pname = "frei0r-plugins";
19 url = "https://files.dyne.org/frei0r/releases/${pname}-${version}.tar.gz";
20 hash = "sha256-RaKGVcrwVyJ7RCuADKOJnpNJBRXIHiEtIZ/fSnYT9cQ=";
23 nativeBuildInputs = [ cmake pkg-config ];
28 ] ++ lib.optionals cudaSupport [
29 cudaPackages.cuda_cudart
30 cudaPackages.cuda_nvcc
33 postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
34 for f in $out/lib/frei0r-1/*.so* ; do
35 ln -s $f "''${f%.*}.dylib"
40 homepage = "https://frei0r.dyne.org";
41 description = "Minimalist, cross-platform, shared video plugins";
42 license = licenses.gpl2Plus;
43 maintainers = [ maintainers.goibhniu ];
44 platforms = platforms.linux ++ platforms.darwin;