mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-23 09:22:25 +01:00
27 lines
782 B
Nix
27 lines
782 B
Nix
|
{ fetchFromGitHub, lib, meson, ninja, pkg-config, stdenv, vapoursynth }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "vapoursynth-median";
|
||
|
version = "4";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "dubhater";
|
||
|
repo = pname;
|
||
|
rev = "v${version}";
|
||
|
sha256 = "16x0ig17kg5xkh9qwv9fx4nmpd6cs53nr4jj1bsh0dm76rlwsynv";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||
|
buildInputs = [ vapoursynth ];
|
||
|
|
||
|
mesonFlags = [ "--libdir=${placeholder "out"}/lib/vapoursynth" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "VapourSynth plugin to generate a pixel-by-pixel median of several clips";
|
||
|
homepage = "https://github.com/dubhater/vapoursynth-median/";
|
||
|
license = licenses.unfree; # no license
|
||
|
maintainers = with maintainers; [ sbruder ];
|
||
|
platforms = platforms.all;
|
||
|
};
|
||
|
}
|