mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-12-22 14:01:30 +01:00
dfmderainbow: init at unstable-10-17-2022
This commit is contained in:
parent
3d0f0f2fe5
commit
7599e41398
|
@ -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 { };
|
||||
|
|
57
plugins/dfmderainbow/default.nix
Normal file
57
plugins/dfmderainbow/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue