mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-23 01:12:25 +01:00
vapoursynthPlugins.debandshit: init at unstable-2020-05-28
This commit is contained in:
parent
bb7244d361
commit
c584377c62
|
@ -47,6 +47,7 @@ in
|
||||||
|
|
||||||
acsuite = callPythonPackage ./plugins/acsuite { };
|
acsuite = callPythonPackage ./plugins/acsuite { };
|
||||||
adjust = callPythonPackage ./plugins/adjust { };
|
adjust = callPythonPackage ./plugins/adjust { };
|
||||||
|
debandshit = callPythonPackage ./plugins/debandshit { };
|
||||||
edi_rpow2 = callPythonPackage ./plugins/edi_rpow2 { };
|
edi_rpow2 = callPythonPackage ./plugins/edi_rpow2 { };
|
||||||
mt_lutspa = callPythonPackage ./plugins/mt_lutspa { };
|
mt_lutspa = callPythonPackage ./plugins/mt_lutspa { };
|
||||||
nnedi3_resample = callPythonPackage ./plugins/nnedi3_resample { };
|
nnedi3_resample = callPythonPackage ./plugins/nnedi3_resample { };
|
||||||
|
|
49
plugins/debandshit/default.nix
Normal file
49
plugins/debandshit/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ lib, vapoursynthPlugins, buildPythonPackage, fetchFromGitHub, python3, vapoursynth }:
|
||||||
|
let
|
||||||
|
propagatedBinaryPlugins = with vapoursynthPlugins; [
|
||||||
|
f3kdb
|
||||||
|
fmtconv
|
||||||
|
#rgsf
|
||||||
|
];
|
||||||
|
in
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "debandshit";
|
||||||
|
version = "unstable-2020-05-28";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "LightArrowsEXE";
|
||||||
|
repo = pname;
|
||||||
|
rev = "d5529c97cdd7f01dcc261d6e79b2aa63b3758cbe";
|
||||||
|
sha256 = "0gwpjglm74y6a7x9ws7is7algnwm3i0ds65nz3ki8faigx1jh52a";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = (with vapoursynthPlugins; [
|
||||||
|
fvsfunc
|
||||||
|
muvsfunc
|
||||||
|
mvsfunc
|
||||||
|
]) ++ propagatedBinaryPlugins;
|
||||||
|
|
||||||
|
format = "other";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
install -D debandshit.py $out/${python3.sitePackages}/debandshit.py
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkInputs = [ (vapoursynth.withPlugins propagatedBinaryPlugins) ];
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
pythonImportsCheck = [ "debandshit" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Various debanding tools for VapourSynth";
|
||||||
|
homepage = "https://github.com/LightArrowsEXE/debandshit";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ sbruder ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue