temporalmedian: init at 1

This commit is contained in:
Aidan Gauland 2022-09-27 22:04:24 +13:00 committed by Tadeo Kondrak
parent f13b913fdc
commit 9da59ca532
2 changed files with 39 additions and 0 deletions

View file

@ -59,6 +59,7 @@ in
scxvid = prev.callPackage ./plugins/scxvid { };
subtext = prev.callPackage ./plugins/subtext { };
tcanny = prev.callPackage ./plugins/tcanny { };
temporalmedian = prev.callPackage ./plugins/temporalmedian { };
temporalsoften2 = prev.callPackage ./plugins/temporalsoften2 { };
tnlmeans = prev.callPackage ./plugins/tnlmeans { };
ttempsmooth = prev.callPackage ./plugins/ttempsmooth { };

View file

@ -0,0 +1,38 @@
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, vapoursynth
}:
stdenv.mkDerivation rec {
pname = "vapoursynth-temporalmedian";
version = "1";
src = fetchFromGitHub {
owner = "dubhater";
repo = pname;
rev = "v${version}";
sha256 = "sha256-UMYBA0kAGiNdcacV25O0pFgbt8bYbhS19u6edZfugYE=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [ vapoursynth ];
mesonFlags = [ "--libdir=${placeholder "out"}/lib/vapoursynth" ];
meta = with lib; {
description = "Temporal denoising plugin for VapourSynth";
homepage = "https://github.com/dubhater/vapoursynth-temporalmedian";
license = licenses.isc;
maintainers = with maintainers; [ aidalgol ];
platforms = platforms.all;
};
}