mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-22 08:52:25 +01:00
vapoursynthPlugins.adjust: init at 1
This commit is contained in:
parent
a64ad77c18
commit
398e7ef3ae
|
@ -45,6 +45,8 @@ in
|
|||
wwxd = super.callPackage ./plugins/wwxd { };
|
||||
znedi3 = super.callPackage ./plugins/znedi3 { };
|
||||
|
||||
adjust = callPythonPackage ./plugins/adjust { };
|
||||
|
||||
mvsfunc = callPythonPackage ./plugins/mvsfunc { };
|
||||
};
|
||||
|
||||
|
|
33
plugins/adjust/default.nix
Normal file
33
plugins/adjust/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, python3, vapoursynth }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vapoursynth-adjust";
|
||||
version = "1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dubhater";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0wd6sh788ljb4vj6fd5zv2cx7nl6x1k3lnz44n7p3ac5vfskjz8a";
|
||||
};
|
||||
|
||||
format = "other";
|
||||
|
||||
installPhase = ''
|
||||
install -D adjust.py $out/${python3.sitePackages}/adjust.py
|
||||
'';
|
||||
|
||||
checkInputs = [ vapoursynth ];
|
||||
checkPhase = ''
|
||||
PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH
|
||||
'';
|
||||
pythonImportsCheck = [ "adjust" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A VapourSynth port of the Avisynth filter Tweak";
|
||||
homepage = "https://github.com/dubhater/vapoursynth-adjust";
|
||||
license = licenses.wtfpl;
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue