vapoursynthPlugins.vivtc: init at unstable-2021-09-26

pull/7/head
Simon Bruder 2021-10-15 18:46:49 +02:00 committed by Simon Bruder
parent 954bfa2fc2
commit 4fbd8e284b
2 changed files with 30 additions and 0 deletions

View File

@ -51,6 +51,7 @@ in
tcanny = prev.callPackage ./plugins/tcanny { };
tnlmeans = prev.callPackage ./plugins/tnlmeans { };
ttempsmooth = prev.callPackage ./plugins/ttempsmooth { };
vivtc = prev.callPackage ./plugins/vivtc { };
wwxd = prev.callPackage ./plugins/wwxd { };
znedi3 = prev.callPackage ./plugins/znedi3 { };

29
plugins/vivtc/default.nix Normal file
View File

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }:
stdenv.mkDerivation rec {
pname = "vivtc";
version = "unstable-2021-09-26";
src = fetchFromGitHub {
owner = "vapoursynth";
repo = pname;
rev = "ed56d96d13a2989fc147a1e9faaced959b6b2cd8";
sha256 = "sha256-4tevOjXy41yWYIvsvNODVzVlNx5e/Yf1zFK20Q/8RGs=";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ vapoursynth ];
postPatch = ''
substituteInPlace meson.build \
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
'';
meta = with lib; {
description = "Field matcher and decimation filter for VapourSynth similar to TIVTC";
homepage = "https://github.com/vapoursynth/vivtc";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}