mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-22 08:52:25 +01:00
astdr: init at 4
This commit is contained in:
parent
3c959c4701
commit
f13b913fdc
|
@ -68,6 +68,7 @@ in
|
|||
|
||||
acsuite = callPythonPackage ./plugins/acsuite { };
|
||||
adjust = callPythonPackage ./plugins/adjust { };
|
||||
astdr = callPythonPackage ./plugins/astdr { };
|
||||
debandshit = callPythonPackage ./plugins/debandshit { };
|
||||
edi_rpow2 = callPythonPackage ./plugins/edi_rpow2 { };
|
||||
finedehalo = callPythonPackage ./plugins/finedehalo { };
|
||||
|
|
64
plugins/astdr/default.nix
Normal file
64
plugins/astdr/default.nix
Normal file
|
@ -0,0 +1,64 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, python
|
||||
, vapoursynthPlugins
|
||||
, vapoursynth
|
||||
}:
|
||||
|
||||
let
|
||||
plugins_native = with vapoursynthPlugins; [
|
||||
awarpsharp2
|
||||
fft3dfilter
|
||||
hqdn3d
|
||||
mvtools
|
||||
ctmf
|
||||
fluxsmooth
|
||||
decross
|
||||
temporalsoften2
|
||||
motionmask
|
||||
];
|
||||
plugins_python = with vapoursynthPlugins; [
|
||||
adjust
|
||||
];
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "astdr";
|
||||
version = "4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dubhater";
|
||||
repo = "vapoursynth-astdr";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-We3vhTZCGYZPMOAfWGif3yAxBUAPUk9zm9JQdlWhn8E=";
|
||||
};
|
||||
|
||||
format = "other";
|
||||
|
||||
propagatedBuildInputs = plugins_native ++ plugins_python;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D ASTDR.py $out/${python.sitePackages}/ASTDR.py
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
checkInputs = [ (vapoursynth.withPlugins plugins_native ) ];
|
||||
checkPhase = ''
|
||||
PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
|
||||
'';
|
||||
pythonImportsCheck = [ "ASTDR" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A VapourSynth derainbow function";
|
||||
longDescription = ''
|
||||
This is a port of the Avisynth function of the same name, version 1.74.
|
||||
'';
|
||||
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