dfmderainbow: init at unstable-10-17-2022

pull/18/head
Aidan Gauland 2022-11-11 08:32:59 +13:00 committed by Tadeo Kondrak
parent 3d0f0f2fe5
commit 7599e41398
2 changed files with 58 additions and 0 deletions

View File

@ -72,6 +72,7 @@ in
adjust = callPythonPackage ./plugins/adjust { };
astdr = callPythonPackage ./plugins/astdr { };
debandshit = callPythonPackage ./plugins/debandshit { };
dfmderainbow = callPythonPackage ./plugins/dfmderainbow { };
edi_rpow2 = callPythonPackage ./plugins/edi_rpow2 { };
finedehalo = callPythonPackage ./plugins/finedehalo { };
mt_lutspa = callPythonPackage ./plugins/mt_lutspa { };

View File

@ -0,0 +1,57 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, python
, vapoursynthPlugins
, vapoursynth
}:
let
plugins_native = with vapoursynthPlugins; [
minideen
msmoosh
mvtools
temporalmedian
temporalsoften2
];
in
buildPythonPackage rec {
pname = "dfmderainbow";
version = "unstable-10-17-2022";
src = fetchFromGitHub {
owner = "dubhater";
repo = "vapoursynth-dfmderainbow";
rev = "44dc6545bced8fc25672bdda717943a02c6b5d71";
sha256 = "sha256-0+DnuQKLaO4AHSK7o0LRpYI1oaYVe8qVgfq1K555afI=";
};
format = "other";
propagatedBuildInputs = plugins_native;
installPhase = ''
runHook preInstall
install -D dfmderainbow.py $out/${python.sitePackages}/dfmderainbow.py
runHook postInstall
'';
checkInputs = [ (vapoursynth.withPlugins plugins_native ) ];
checkPhase = ''
PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
'';
pythonImportsCheck = [ "dfmderainbow" ];
meta = with lib; {
description = "A VapourSynth derainbow function";
longDescription = ''
This is a port of the Avisynth function of the same name, version 20140223.
'';
homepage = "https://github.com/dubhater/vapoursynth-astdr";
license = licenses.unfree; # no license
maintainers = with maintainers; [ aidalgol ];
platforms = platforms.all;
};
}