motionmask: init at unstable-2021-07-20

This commit is contained in:
Aidan Gauland 2022-09-25 16:45:13 +13:00 committed by Tadeo Kondrak
parent cad7e80c00
commit 3c959c4701
2 changed files with 39 additions and 0 deletions

View file

@ -44,6 +44,7 @@ in
lsmashsource = prev.callPackage ./plugins/lsmashsource { }; lsmashsource = prev.callPackage ./plugins/lsmashsource { };
median = prev.callPackage ./plugins/median { }; median = prev.callPackage ./plugins/median { };
miscfilters-obsolete = prev.callPackage ./plugins/miscfilters-obsolete { }; miscfilters-obsolete = prev.callPackage ./plugins/miscfilters-obsolete { };
motionmask = prev.callPackage ./plugins/motionmask { };
msmoosh = prev.callPackage ./plugins/msmoosh { }; msmoosh = prev.callPackage ./plugins/msmoosh { };
mvtools = prev.vapoursynth-mvtools; mvtools = prev.vapoursynth-mvtools;
nnedi3 = prev.callPackage ./plugins/nnedi3 { }; nnedi3 = prev.callPackage ./plugins/nnedi3 { };

View file

@ -0,0 +1,38 @@
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, vapoursynth
}:
stdenv.mkDerivation rec {
pname = "vapoursynth-motionmask";
version = "unstable-2021-07-20";
src = fetchFromGitHub {
owner = "dubhater";
repo = pname;
rev = "ed86b06688c2db1b05d7026f66a2574e64c9e69e";
sha256 = "sha256-wYb3L8aETt4FfpWugiOHMmgBSLN0Xuo1vxkQLULQUoE=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [ vapoursynth ];
mesonFlags = [ "--libdir=${placeholder "out"}/lib/vapoursynth" ];
meta = with lib; {
description = "MotionMask plugin for VapourSynth";
homepage = "https://github.com/dubhater/vapoursynth-motionmask";
license = licenses.mit;
maintainers = with maintainers; [ aidalgol ];
platforms = platforms.all;
};
}