mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-05 00:32:27 +01:00
vapoursynthPlugins.lvsfunc: init at unstable-2021-05-15
This commit is contained in:
parent
a45c93c1d8
commit
0040b158a7
|
@ -67,6 +67,7 @@ in
|
|||
fvsfunc = callPythonPackage ./plugins/fvsfunc { };
|
||||
havsfunc = callPythonPackage ./plugins/havsfunc { };
|
||||
kagefunc = callPythonPackage ./plugins/kagefunc { };
|
||||
lvsfunc = callPythonPackage ./plugins/lvsfunc { };
|
||||
muvsfunc = callPythonPackage ./plugins/muvsfunc { };
|
||||
mvsfunc = callPythonPackage ./plugins/mvsfunc { };
|
||||
vardefunc = callPythonPackage ./plugins/vardefunc { };
|
||||
|
|
65
plugins/lvsfunc/default.nix
Normal file
65
plugins/lvsfunc/default.nix
Normal file
|
@ -0,0 +1,65 @@
|
|||
{ lib, vapoursynthPlugins, buildPythonPackage, fetchFromGitHub, rich, toolz, vapoursynth }:
|
||||
let
|
||||
propagatedBinaryPlugins = with vapoursynthPlugins; [
|
||||
adaptivegrain
|
||||
combmask
|
||||
continuityfixer
|
||||
d2vsource
|
||||
descale
|
||||
eedi3m
|
||||
fmtconv
|
||||
knlmeanscl
|
||||
nnedi3
|
||||
readmpls
|
||||
retinex
|
||||
#rgsf
|
||||
tcanny
|
||||
znedi3
|
||||
];
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "lvsfunc";
|
||||
version = "unstable-2021-05-15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Irrational-Encoding-Wizardry";
|
||||
repo = pname;
|
||||
rev = "76bddb75bc014a47064958beecb13143b8206fa6";
|
||||
sha256 = "0gvpz9d0lbjvpk8spkfxbmi4s8pqqyjqi8jjvfhfdf3m906v1wh1";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# This does not depend on vapoursynth (since this is used from within
|
||||
# vapoursynth).
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "VapourSynth>=51" "" \
|
||||
|
||||
# TODO: remove when python 3.9 is default in nixpkgs
|
||||
substituteInPlace setup.py \
|
||||
--replace "python_requires='>=3.9'" "python_requires='>=3.8'" \
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
rich
|
||||
toolz
|
||||
] ++ (with vapoursynthPlugins; [
|
||||
debandshit
|
||||
edi_rpow2
|
||||
havsfunc
|
||||
kagefunc
|
||||
mvsfunc
|
||||
vsTAAmbk
|
||||
vsutil
|
||||
]);
|
||||
|
||||
checkInputs = [ (vapoursynth.withPlugins propagatedBinaryPlugins) ];
|
||||
pythonImportsCheck = [ "lvsfunc" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A collection of LightArrowsEXE’s VapourSynth functions and wrappers";
|
||||
homepage = "https://lvsfunc.readthedocs.io";
|
||||
license = licenses.mit; # no license
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue