mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-23 01:12:25 +01:00
39 lines
803 B
Nix
39 lines
803 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|