mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-12-22 14:01:30 +01:00
vapoursynthPlugins.vardefunc: init at unstable-2021-05-12
This commit is contained in:
parent
6cc24a5a6c
commit
f477eb3859
|
@ -61,6 +61,7 @@ in
|
|||
kagefunc = callPythonPackage ./plugins/kagefunc { };
|
||||
muvsfunc = callPythonPackage ./plugins/muvsfunc { };
|
||||
mvsfunc = callPythonPackage ./plugins/mvsfunc { };
|
||||
vardefunc = callPythonPackage ./plugins/vardefunc { };
|
||||
};
|
||||
|
||||
getnative = callPythonPackage ./tools/getnative { };
|
||||
|
|
47
plugins/vardefunc/default.nix
Normal file
47
plugins/vardefunc/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{ lib, vapoursynthPlugins, buildPythonPackage, fetchFromGitHub, python3, vapoursynth }:
|
||||
let
|
||||
propagatedBinaryPlugins = with vapoursynthPlugins; [
|
||||
adaptivegrain
|
||||
bilateral
|
||||
eedi3m
|
||||
f3kdb
|
||||
ffms2
|
||||
nnedi3cl
|
||||
scxvid
|
||||
wwxd
|
||||
];
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "vardefunc";
|
||||
version = "1.1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ichunjo";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0bkchcshxmfcfbqapw367y3cfj1rdz78a55fkcvznvy61fhqvzl7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = (with vapoursynthPlugins; [
|
||||
fvsfunc
|
||||
havsfunc
|
||||
lvsfunc
|
||||
vsutil
|
||||
]) ++ propagatedBinaryPlugins;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "VapourSynth>=51" ""
|
||||
'';
|
||||
|
||||
checkInputs = [ (vapoursynth.withPlugins propagatedBinaryPlugins) ];
|
||||
pythonImportsCheck = [ "vardefunc" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = " Some functions that may be useful ";
|
||||
homepage = "https://github.com/Ichunjo/vardefunc";
|
||||
license = licenses.unfree; # no license
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue