23 lines
352 B
Nix
23 lines
352 B
Nix
{ 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;
|
|
}
|
|
|