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