1{ 2 vapoursynth, 3 cython, 4 buildPythonPackage, 5 unittestCheckHook, 6 python, 7}: 8 9buildPythonPackage { 10 pname = "vapoursynth"; 11 format = "setuptools"; 12 13 inherit (vapoursynth) version src; 14 15 nativeBuildInputs = [ cython ]; 16 17 buildInputs = [ vapoursynth ]; 18 19 nativeCheckInputs = [ unittestCheckHook ]; 20 21 unittestFlagsArray = [ 22 "-s" 23 "test" 24 "-p" 25 "'*test.py'" 26 ]; 27 28 passthru = { 29 withPlugins = 30 plugins: python.pkgs.vapoursynth.override { vapoursynth = vapoursynth.withPlugins plugins; }; 31 }; 32 33 inherit (vapoursynth) meta; 34}