vapoursynthPlugins.cnr2: init at 1

This commit is contained in:
Tadeo Kondrak 2019-06-28 23:24:58 -06:00
parent 3f0957919a
commit f4a4b09df6
No known key found for this signature in database
GPG key ID: C4654C621CD5277C
2 changed files with 27 additions and 0 deletions

View file

@ -7,6 +7,7 @@ self: super: {
bifrost = super.callPackage ./plugins/bifrost { };
bilateral = super.callPackage ./plugins/bilateral { };
bm3d = super.callPackage ./plugins/bm3d { };
cnr2 = super.callPackage ./plugins/cnr2 { };
continuityfixer = super.callPackage ./plugins/continuityfixer { };
descale = super.callPackage ./plugins/descale { };
fmtconv = super.callPackage ./plugins/fmtconv { };

26
plugins/cnr2/default.nix Normal file
View file

@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth }:
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 ];
meta = with stdenv.lib; {
description = "Temporal chroma denoiser for VapourSynth";
homepage = https://github.com/dubhater/vapoursynth-cnr2;
license = licenses.gpl2;
maintainers = with maintainers; [ tadeokondrak ];
platforms = platforms.all;
};
}