mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-18 07:02:25 +01:00
32 lines
945 B
Nix
32 lines
945 B
Nix
|
{ stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth, boost, opencl-headers, ocl-icd }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "vapoursynth-eedi3";
|
||
|
version = "r4";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "HomeOfVapourSynthEvolution";
|
||
|
repo = "VapourSynth-EEDI3";
|
||
|
rev = version;
|
||
|
sha256 = "1q79l27arcfl7k49czsspb4z7zfr616xsxsb04x9b4d9l763716x";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||
|
buildInputs = [ vapoursynth boost opencl-headers ocl-icd ];
|
||
|
|
||
|
installPhase =
|
||
|
let
|
||
|
ext = stdenv.targetPlatform.extensions.sharedLibrary;
|
||
|
in ''
|
||
|
install -D libeedi3m${ext} $out/lib/vapoursynth/libeedi3m${ext}
|
||
|
'';
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Renewed EEDI3 filter for VapourSynth";
|
||
|
homepage = https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI3;
|
||
|
license = licenses.gpl2;
|
||
|
maintainers = with maintainers; [ tadeokondrak ];
|
||
|
platforms = platforms.all;
|
||
|
};
|
||
|
}
|