vapoursynthPlugins.median: init at 4

This commit is contained in:
Simon Bruder 2021-01-23 10:12:26 +01:00 committed by Tadeo Kondrak
parent 7148a48328
commit 5b7075d0e0
2 changed files with 27 additions and 0 deletions

View file

@ -18,6 +18,7 @@ self: super: {
histogram = super.callPackage ./plugins/histogram { };
knlmeanscl = super.callPackage ./plugins/knlmeanscl { };
lsmashsource = super.callPackage ./plugins/lsmashsource { };
median = super.callPackage ./plugins/median { };
mvtools = super.vapoursynth-mvtools;
nnedi3 = super.callPackage ./plugins/nnedi3 { };
retinex = super.callPackage ./plugins/retinex { };

View file

@ -0,0 +1,26 @@
{ 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;
};
}