mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-16 06:02:26 +01:00
30 lines
878 B
Nix
30 lines
878 B
Nix
{ 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;
|
|
};
|
|
}
|