vs-overlay/plugins/median/default.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;
};
}