Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ vapoursynth, cython, buildPythonPackage, unittestCheckHook, python }: 2 3buildPythonPackage { 4 pname = "vapoursynth"; 5 6 inherit (vapoursynth) version src; 7 8 nativeBuildInputs = [ 9 cython 10 ]; 11 12 buildInputs = [ 13 vapoursynth 14 ]; 15 16 nativeCheckInputs = [ 17 unittestCheckHook 18 ]; 19 20 unittestFlagsArray = [ "-s" "$src/test" "-p" "'*test.py'" ]; 21 22 passthru = { 23 withPlugins = plugins: 24 python.pkgs.vapoursynth.override { 25 vapoursynth = vapoursynth.withPlugins plugins; 26 }; 27 }; 28 29 inherit (vapoursynth) meta; 30} 31