mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-25 18:22:26 +01:00
vapoursynthPlugins.mvsfunc: init at r8
This commit is contained in:
parent
2c20d5e7b4
commit
a64ad77c18
|
@ -44,6 +44,8 @@ in
|
|||
ttempsmooth = super.callPackage ./plugins/ttempsmooth { };
|
||||
wwxd = super.callPackage ./plugins/wwxd { };
|
||||
znedi3 = super.callPackage ./plugins/znedi3 { };
|
||||
|
||||
mvsfunc = callPythonPackage ./plugins/mvsfunc { };
|
||||
};
|
||||
|
||||
getnative = callPythonPackage ./tools/getnative { };
|
||||
|
|
38
plugins/mvsfunc/default.nix
Normal file
38
plugins/mvsfunc/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, vapoursynthPlugins, python3, vapoursynth }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mvsfunc";
|
||||
version = "r8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "HomeOfVapourSynthEvolution";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0y5whczp3skbfbv9ajizddpg2k8hxiiy339gkqhiqby7zlbnvdw2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with vapoursynthPlugins; [
|
||||
bm3d
|
||||
fmtconv
|
||||
];
|
||||
|
||||
format = "other";
|
||||
|
||||
installPhase = ''
|
||||
install -D mvsfunc.py $out/${python3.sitePackages}/mvsfunc.py
|
||||
'';
|
||||
|
||||
checkInputs = [ (vapoursynth.withPlugins propagatedBuildInputs) ];
|
||||
checkPhase = ''
|
||||
PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH
|
||||
'';
|
||||
pythonImportsCheck = [ "mvsfunc" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "mawen1250’s VapourSynth functions";
|
||||
homepage = "https://github.com/HomeOfVapourSynthEvolution/mvsfunc";
|
||||
license = licenses.unfree; # no license
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue