mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-22 08:52:25 +01:00
vapoursynthPlugins.edi_rpow2: init at unstable-2018-05-21
This commit is contained in:
parent
398e7ef3ae
commit
c7950d90a7
|
@ -46,6 +46,7 @@ in
|
|||
znedi3 = super.callPackage ./plugins/znedi3 { };
|
||||
|
||||
adjust = callPythonPackage ./plugins/adjust { };
|
||||
edi_rpow2 = callPythonPackage ./plugins/edi_rpow2 { };
|
||||
|
||||
mvsfunc = callPythonPackage ./plugins/mvsfunc { };
|
||||
};
|
||||
|
|
41
plugins/edi_rpow2/default.nix
Normal file
41
plugins/edi_rpow2/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib, buildPythonPackage, fetchgit, vapoursynthPlugins, python3, vapoursynth }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "edi_rpow2";
|
||||
version = "unstable-2018-05-21";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://gist.github.com/YamashitaRen/020c497524e794779d9c";
|
||||
rev = "2a20385e50804f8b24f2a2479e2c0f3c335d4853";
|
||||
sha256 = "0vaj4v74khrsmyvkpimfkbbyk4bwn065j57fcvzx37fki8a8sw6i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with vapoursynthPlugins; [
|
||||
eedi2
|
||||
eedi3m
|
||||
fmtconv
|
||||
nnedi3
|
||||
nnedi3cl
|
||||
znedi3
|
||||
];
|
||||
|
||||
format = "other";
|
||||
|
||||
installPhase = ''
|
||||
install -D edi_rpow2.py $out/${python3.sitePackages}/edi_rpow2.py
|
||||
'';
|
||||
|
||||
checkInputs = [ (vapoursynth.withPlugins propagatedBuildInputs) ];
|
||||
checkPhase = ''
|
||||
PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH
|
||||
'';
|
||||
pythonImportsCheck = [ "edi_rpow2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A vapoursynth plugin for enlarging images by powers of 2";
|
||||
homepage = "https://gist.github.com/YamashitaRen/020c497524e794779d9c";
|
||||
license = licenses.unfree; # no license
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue