mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-12-22 22:11:29 +01:00
vapoursynthPlugins.fvsfunc: init at unstable-2020-10-12
This commit is contained in:
parent
fd802b877d
commit
dae0d8550e
|
@ -53,6 +53,7 @@ in
|
|||
vsTAAmbk = callPythonPackage ./plugins/vsTAAmbk { };
|
||||
vsutil = callPythonPackage ./plugins/vsutil { };
|
||||
|
||||
fvsfunc = callPythonPackage ./plugins/fvsfunc { };
|
||||
havsfunc = callPythonPackage ./plugins/havsfunc { };
|
||||
muvsfunc = callPythonPackage ./plugins/muvsfunc { };
|
||||
mvsfunc = callPythonPackage ./plugins/mvsfunc { };
|
||||
|
|
48
plugins/fvsfunc/default.nix
Normal file
48
plugins/fvsfunc/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ lib, vapoursynthPlugins, buildPythonPackage, fetchFromGitHub, python3, vapoursynth }:
|
||||
let
|
||||
propagatedBinaryPlugins = with vapoursynthPlugins; [
|
||||
bilateral
|
||||
descale
|
||||
dfttest
|
||||
fmtconv
|
||||
nnedi3
|
||||
];
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "fvsfunc";
|
||||
version = "unstable-2020-10-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Irrational-Encoding-Wizardry";
|
||||
repo = pname;
|
||||
rev = "96211df1eb46cda49ffbf1c930d627fe3a5d5d5a";
|
||||
sha256 = "0zyb96izws9lb53wlxx9p1ing5z9xy9gj98pblx4p5myim39xywq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = (with vapoursynthPlugins; [
|
||||
havsfunc
|
||||
muvsfunc
|
||||
mvsfunc
|
||||
nnedi3_rpow2
|
||||
]) ++ propagatedBinaryPlugins;
|
||||
|
||||
format = "other";
|
||||
|
||||
installPhase = ''
|
||||
install -D fvsfunc.py $out/${python3.sitePackages}/fvsfunc.py
|
||||
'';
|
||||
|
||||
checkInputs = [ (vapoursynth.withPlugins propagatedBinaryPlugins) ];
|
||||
checkPhase = ''
|
||||
PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH
|
||||
'';
|
||||
pythonImportsCheck = [ "fvsfunc" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A small collection of VapourSynth functions";
|
||||
homepage = "https://github.com/Irrational-Encoding-Wizardry/fvsfunc";
|
||||
license = licenses.unfree; # no license
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue