diff options
Diffstat (limited to 'pkgs/development/python-modules/vapoursynth/default.nix')
-rw-r--r-- | pkgs/development/python-modules/vapoursynth/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/vapoursynth/default.nix b/pkgs/development/python-modules/vapoursynth/default.nix new file mode 100644 index 0000000000000..bfd5e1ca8b2bc --- /dev/null +++ b/pkgs/development/python-modules/vapoursynth/default.nix @@ -0,0 +1,22 @@ +{ vapoursynth, cython, buildPythonPackage, python }: + +buildPythonPackage { + pname = "vapoursynth"; + + inherit (vapoursynth) version src; + + nativeBuildInputs = [ + cython + ]; + + buildInputs = [ + vapoursynth + ]; + + checkPhase = '' + ${python.interpreter} -m unittest discover -s $src/test -p "*test.py" + ''; + + inherit (vapoursynth) meta; +} + |