2021-01-22 17:10:08 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth }:
|
2019-06-29 07:24:58 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vapoursynth-cnr2";
|
|
|
|
version = "1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dubhater";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1l77vzmaxqkdmmq1sbpmgn05lvaz06q12wg1rbzyasq34kic47ch";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
|
|
buildInputs = [ vapoursynth ];
|
|
|
|
|
2021-01-22 17:10:08 +01:00
|
|
|
meta = with lib; {
|
2019-06-29 07:24:58 +02:00
|
|
|
description = "Temporal chroma denoiser for VapourSynth";
|
2021-01-22 17:22:37 +01:00
|
|
|
homepage = "https://github.com/dubhater/vapoursynth-cnr2";
|
2019-06-29 07:24:58 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ tadeokondrak ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|