From cad7e80c00509c2e9e6e0c9ee01f7a57ee18aa39 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Sun, 25 Sep 2022 16:35:24 +1300 Subject: [PATCH] temporalsoften2: init at unstable-2019-03-25 --- default.nix | 1 + plugins/temporalsoften2/default.nix | 38 +++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 plugins/temporalsoften2/default.nix diff --git a/default.nix b/default.nix index f480b06..9ec959d 100644 --- a/default.nix +++ b/default.nix @@ -58,6 +58,7 @@ in scxvid = prev.callPackage ./plugins/scxvid { }; subtext = prev.callPackage ./plugins/subtext { }; tcanny = prev.callPackage ./plugins/tcanny { }; + temporalsoften2 = prev.callPackage ./plugins/temporalsoften2 { }; tnlmeans = prev.callPackage ./plugins/tnlmeans { }; ttempsmooth = prev.callPackage ./plugins/ttempsmooth { }; vivtc = prev.callPackage ./plugins/vivtc { }; diff --git a/plugins/temporalsoften2/default.nix b/plugins/temporalsoften2/default.nix new file mode 100644 index 0000000..cf958fb --- /dev/null +++ b/plugins/temporalsoften2/default.nix @@ -0,0 +1,38 @@ +{ lib +, stdenv +, fetchFromGitHub +, meson +, ninja +, pkg-config +, vapoursynth +}: + +stdenv.mkDerivation rec { + pname = "vapoursynth-temporalsoften2"; + version = "unstable-2019-03-25"; + + src = fetchFromGitHub { + owner = "dubhater"; + repo = pname; + rev = "a133670676a311dde31b0eb1a771bbd94ffb1235"; + sha256 = "sha256-RxFSDmwzBuO7EfxryV2UZRAjGCW3JcGtcCX+mDnAYb8="; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + ]; + + buildInputs = [ vapoursynth ]; + + mesonFlags = [ "--libdir=${placeholder "out"}/lib/vapoursynth" ]; + + meta = with lib; { + description = "TemporalSoften filter plugin for VapourSynth"; + homepage = "https://github.com/dubhater/vapoursynth-temporalsoften2"; + license = licenses.lgpl2; + maintainers = with maintainers; [ aidalgol ]; + platforms = platforms.all; + }; +}