mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-22 17:02:25 +01:00
vapoursynthPlugins.muvsfunc: init at unstable-2020-09-09
This commit is contained in:
parent
bdab96642c
commit
fd802b877d
|
@ -54,6 +54,7 @@ in
|
||||||
vsutil = callPythonPackage ./plugins/vsutil { };
|
vsutil = callPythonPackage ./plugins/vsutil { };
|
||||||
|
|
||||||
havsfunc = callPythonPackage ./plugins/havsfunc { };
|
havsfunc = callPythonPackage ./plugins/havsfunc { };
|
||||||
|
muvsfunc = callPythonPackage ./plugins/muvsfunc { };
|
||||||
mvsfunc = callPythonPackage ./plugins/mvsfunc { };
|
mvsfunc = callPythonPackage ./plugins/mvsfunc { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
49
plugins/muvsfunc/default.nix
Normal file
49
plugins/muvsfunc/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ lib, vapoursynthPlugins, buildPythonPackage, fetchFromGitHub, matplotlib, python3, vapoursynth }:
|
||||||
|
let
|
||||||
|
propagatedBinaryPlugins = with vapoursynthPlugins; [
|
||||||
|
descale
|
||||||
|
histogram
|
||||||
|
median
|
||||||
|
tcanny
|
||||||
|
];
|
||||||
|
in
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "muvsfunc";
|
||||||
|
version = "unstable-2020-09-09";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "WolframRhodium";
|
||||||
|
repo = pname;
|
||||||
|
rev = "5b5f245f090b6a4de7910ae6168b3ef0e28d2c70";
|
||||||
|
sha256 = "1yyqdmlsvz5p07bvfkf48mggz6cdk199ai2pr2apvgcr2pchxc90";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
matplotlib
|
||||||
|
] ++ (with vapoursynthPlugins; [
|
||||||
|
havsfunc
|
||||||
|
mt_lutspa
|
||||||
|
mvsfunc
|
||||||
|
nnedi3_resample
|
||||||
|
]) ++ propagatedBinaryPlugins;
|
||||||
|
|
||||||
|
format = "other";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -D muvsfunc.py $out/${python3.sitePackages}/muvsfunc.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkInputs = [ (vapoursynth.withPlugins propagatedBinaryPlugins) ];
|
||||||
|
checkPhase = ''
|
||||||
|
PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH
|
||||||
|
'';
|
||||||
|
pythonImportsCheck = [ "muvsfunc" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Muonium’s VapourSynth functions";
|
||||||
|
homepage = "https://github.com/WolframRhodium/muvsfunc";
|
||||||
|
license = licenses.unfree; # no license
|
||||||
|
maintainers = with maintainers; [ sbruder ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue