about summary refs log tree commit diff
path: root/pkgs/development/python-modules/vapoursynth/default.nix
blob: bfd5e1ca8b2bce86beb936fc8d425b691a53dc86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
}