decross: init at 1

This commit is contained in:
Aidan Gauland 2022-09-25 11:20:12 +13:00 committed by Tadeo Kondrak
parent 7a032943f0
commit 9efdaa04ef
2 changed files with 41 additions and 0 deletions

View file

@ -26,6 +26,7 @@ in
d2vsource = prev.callPackage ./plugins/d2vsource { };
dctfilter = prev.callPackage ./plugins/dctfilter { };
deblock = prev.callPackage ./plugins/deblock { };
decross = prev.callPackage ./plugins/decross { };
descale = prev.callPackage ./plugins/descale { };
dfttest = prev.callPackage ./plugins/dfttest { };
eedi2 = prev.callPackage ./plugins/eedi2 { };

View file

@ -0,0 +1,40 @@
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, cmake
, pkg-config
, vapoursynth
}:
stdenv.mkDerivation rec {
pname = "vapoursynth-decross";
version = "1";
src = fetchFromGitHub {
owner = "dubhater";
repo = pname;
rev = "v${version}";
sha256 = "sha256-BrtxBS1/q1rldVh8P9eHCeBoo/EueZ3TOrhaotV8l6g=";
};
nativeBuildInputs = [
meson
ninja
cmake
pkg-config
];
buildInputs = [ vapoursynth ];
mesonFlags = [ "--libdir=${placeholder "out"}/lib/vapoursynth" ];
meta = with lib; {
description = "A rainbow reduction filter plugin for VapourSynth";
homepage = "https://github.com/dubhater/vapoursynth-decross";
license = licenses.gpl2;
maintainers = with maintainers; [ aidalgol ];
platforms = platforms.all;
};
}