vapoursynthPlugins.finedehalo: init at unstable-2016-07-08

pull/2/head
Simon Bruder 2021-05-16 11:40:08 +02:00 committed by Tadeo Kondrak
parent 7361558147
commit 3e60b93aab
2 changed files with 42 additions and 0 deletions

View File

@ -52,6 +52,7 @@ in
adjust = callPythonPackage ./plugins/adjust { };
debandshit = callPythonPackage ./plugins/debandshit { };
edi_rpow2 = callPythonPackage ./plugins/edi_rpow2 { };
finedehalo = callPythonPackage ./plugins/finedehalo { };
mt_lutspa = callPythonPackage ./plugins/mt_lutspa { };
nnedi3_resample = callPythonPackage ./plugins/nnedi3_resample { };
nnedi3_rpow2 = callPythonPackage ./plugins/nnedi3_rpow2 { };

View File

@ -0,0 +1,41 @@
{ lib, buildPythonPackage, fetchgit, vapoursynthPlugins, python3, vapoursynth }:
buildPythonPackage rec {
pname = "finedehalo";
version = "unstable-2016-07-08";
src = fetchgit {
url = "https://gist.github.com/bcd427ec0fa8fdf7c45433917521bac4.git";
rev = "879cd79512d8f43083bcc7832890649aaf4d49fe";
sha256 = "0iq8hjwab9lmyaa49k03pi64fw34hdv6xr33s9kyjn6f9j2dn8b5";
};
propagatedBuildInputs = with vapoursynthPlugins; [
havsfunc
mvsfunc
];
format = "other";
installPhase = ''
runHook preInstall
install -D finedehalo.py $out/${python3.sitePackages}/finedehalo.py
runHook postInstall
'';
checkInputs = [ vapoursynth ];
checkPhase = ''
runHook preCheck
PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH
runHook postCheck
'';
pythonImportsCheck = [ "finedehalo" ];
meta = with lib; {
description = "FineDehalo ported to VapourSynth";
homepage = "https://forum.doom9.org/showthread.php?t=173672";
license = licenses.unfree; # no license
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}