mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-22 08:52:25 +01:00
vapoursynthPlugins.nnedi3_resample: init at unstable-2017-05-10
This commit is contained in:
parent
4efbbdd2e7
commit
1ec779e4e5
|
@ -47,6 +47,7 @@ in
|
|||
|
||||
adjust = callPythonPackage ./plugins/adjust { };
|
||||
edi_rpow2 = callPythonPackage ./plugins/edi_rpow2 { };
|
||||
nnedi3_resample = callPythonPackage ./plugins/nnedi3_resample { };
|
||||
nnedi3_rpow2 = callPythonPackage ./plugins/nnedi3_rpow2 { };
|
||||
|
||||
mvsfunc = callPythonPackage ./plugins/mvsfunc { };
|
||||
|
|
39
plugins/nnedi3_resample/default.nix
Normal file
39
plugins/nnedi3_resample/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, vapoursynthPlugins, python3, vapoursynth }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nnedi3_resample";
|
||||
version = "unstable-2017-05-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mawen1250";
|
||||
repo = "VapourSynth-script";
|
||||
rev = "0983895c8a0fe65d8b342e1875294d2681c75e84";
|
||||
sha256 = "1c6z1xi2lvjjf7n22l5w1yw2fqh3mh2k600v65bnc50192i8zhnd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with vapoursynthPlugins; [
|
||||
fmtconv
|
||||
mvsfunc
|
||||
nnedi3
|
||||
];
|
||||
|
||||
format = "other";
|
||||
|
||||
installPhase = ''
|
||||
install -D nnedi3_resample.py $out/${python3.sitePackages}/nnedi3_resample.py
|
||||
'';
|
||||
|
||||
checkInputs = [ (vapoursynth.withPlugins propagatedBuildInputs) ];
|
||||
checkPhase = ''
|
||||
PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH
|
||||
'';
|
||||
pythonImportsCheck = [ "nnedi3_resample" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A vapoursynth plugin for resampling with nnedi3";
|
||||
homepage = "https://github.com/mawen1250/VapourSynth-script";
|
||||
license = licenses.unfree; # no license
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue