vs-overlay/plugins/bm3d/default.nix
Tadeo Kondrak e94a197efe
initial commit
vapoursynthPlugins.addgrain: init at r7
vapoursynthPlugins.autocrop: init at 0.1
vapoursynthPlugins.beziercurve: init at r2
vapoursynthPlugins.bifrost: init at 2.2
vapoursynthPlugins.bilateral: init at r3
vapoursynthPlugins.bm3d: init at r8
vapoursynthPlugins.continuityfixer: init at 6.1
vapoursynthPlugins.descale: init at r2
vapoursynthPlugins.eedi2: init at r7.1
vapoursynthPlugins.eedi3m: init at r4
vapoursynthPlugins.f3kdb: init at 2.0.0-1
vapoursynthPlugins.ffms2: init as alias
vapoursynthPlugins.fmtconv: init at r20
vapoursynthPlugins.knlmeanscl: init at 1.1.1
vapoursynthPlugins.lsmashsource: init at unstable-2017-08-12
vapoursynthPlugins.nnedi3: init at 11
vapoursynthPlugins.retinex: init at r4
vapoursynthPlugins.sangnom: init at r41
vapoursynthPlugins.tcanny: init at r12
vapoursynthPlugins.tnlmeans: init at unstable-2015-02-25
vapoursynthPlugins.wwxd: init at 1.0
2019-06-25 17:40:02 -06:00

34 lines
1,012 B
Nix

{ stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth, fftwSinglePrec }:
stdenv.mkDerivation rec {
pname = "vapoursynth-bm3d";
version = "r8";
src = fetchFromGitHub {
owner = "HomeOfVapourSynthEvolution";
repo = "VapourSynth-BM3D";
rev = version;
sha256 = "0hifiyqr0vp3rkqrjbz2fvka7s8xvcpl58rjf0rvljs64bxia4v7";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ vapoursynth fftwSinglePrec ];
# i could not find a way to override the default meson install dir.
# patching the file didn't work
installPhase =
let
ext = stdenv.targetPlatform.extensions.sharedLibrary;
in ''
install -D libbm3d${ext} $out/lib/vapoursynth/libbm3d${ext}
'';
meta = with stdenv.lib; {
description = "BM3D denoising filter for VapourSynth";
homepage = https://github.com/HomeOfVapourSynthEvolution/VapourSynth-BM3D;
license = licenses.mit;
maintainers = with maintainers; [ tadeokondrak ];
platforms = platforms.all;
};
}