mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-05 00:32:27 +01:00
32 lines
876 B
Nix
32 lines
876 B
Nix
|
{ stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "vapoursynth-eedi2";
|
||
|
version = "r7.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "HomeOfVapourSynthEvolution";
|
||
|
repo = "VapourSynth-EEDI2";
|
||
|
rev = version;
|
||
|
sha256 = "10yfndb4q5zd450v5di331r3hm1mfikw370jvxydd98b0lbjpp8f";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||
|
buildInputs = [ vapoursynth ];
|
||
|
|
||
|
installPhase =
|
||
|
let
|
||
|
ext = stdenv.targetPlatform.extensions.sharedLibrary;
|
||
|
in ''
|
||
|
install -D libeedi2${ext} $out/lib/vapoursynth/libeedi2${ext}
|
||
|
'';
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "EEDI2 filter for VapourSynth";
|
||
|
homepage = https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI2;
|
||
|
license = licenses.gpl2;
|
||
|
maintainers = with maintainers; [ tadeokondrak ];
|
||
|
platforms = platforms.all;
|
||
|
};
|
||
|
}
|