vs-overlay/plugins/temporalmedian/default.nix
2022-12-09 20:57:17 -07:00

39 lines
772 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, vapoursynth
}:
stdenv.mkDerivation rec {
pname = "vapoursynth-temporalmedian";
version = "1";
src = fetchFromGitHub {
owner = "dubhater";
repo = pname;
rev = "v${version}";
sha256 = "sha256-UMYBA0kAGiNdcacV25O0pFgbt8bYbhS19u6edZfugYE=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [ vapoursynth ];
mesonFlags = [ "--libdir=${placeholder "out"}/lib/vapoursynth" ];
meta = with lib; {
description = "Temporal denoising plugin for VapourSynth";
homepage = "https://github.com/dubhater/vapoursynth-temporalmedian";
license = licenses.isc;
maintainers = with maintainers; [ aidalgol ];
platforms = platforms.all;
};
}