Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

vapoursynth-eedi3: init at unstable-2019-09-30

emily 78e61aae 40a81539

+56
+56
pkgs/by-name/va/vapoursynth-eedi3/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + meson, 6 + ninja, 7 + pkg-config, 8 + boost, 9 + vapoursynth, 10 + opencl-headers, 11 + ocl-icd, 12 + openclSupport ? true, 13 + }: 14 + 15 + stdenv.mkDerivation { 16 + pname = "vapoursynth-eedi3"; 17 + version = "unstable-2019-09-30"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "HomeOfVapourSynthEvolution"; 21 + repo = "VapourSynth-EEDI3"; 22 + rev = "d11bdb37c7a7118cd095b53d9f8fbbac02a06ac0"; 23 + hash = "sha256-MIUf6sOnJ2uqGw3ixEHy1ijzlLFkQauwtm1vfgmYmcg="; 24 + }; 25 + 26 + nativeBuildInputs = [ 27 + meson 28 + ninja 29 + pkg-config 30 + ]; 31 + 32 + buildInputs = 33 + [ 34 + boost 35 + vapoursynth 36 + ] 37 + ++ lib.optionals openclSupport [ 38 + ocl-icd 39 + opencl-headers 40 + ]; 41 + 42 + postPatch = '' 43 + substituteInPlace meson.build \ 44 + --replace-fail "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')" 45 + ''; 46 + 47 + mesonFlags = [ (lib.mesonBool "opencl" openclSupport) ]; 48 + 49 + meta = { 50 + description = "Filter for VapourSynth"; 51 + homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI3"; 52 + license = with lib.licenses; [ gpl2Plus ]; 53 + maintainers = with lib.maintainers; [ snaki ]; 54 + platforms = lib.platforms.x86_64; 55 + }; 56 + }