2022-09-22 12:36:57 +00:00
|
|
|
{ vapoursynth, cython, buildPythonPackage, unittestCheckHook, python }:
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "vapoursynth";
|
|
|
|
|
|
|
|
inherit (vapoursynth) version src;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cython
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
vapoursynth
|
|
|
|
];
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
checkInputs = [
|
|
|
|
unittestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
unittestFlagsArray = [ "-s" "$src/test" "-p" "'*test.py'" ];
|
2022-06-26 10:26:21 +00:00
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
passthru = {
|
|
|
|
withPlugins = plugins:
|
|
|
|
python.pkgs.vapoursynth.override {
|
|
|
|
vapoursynth = vapoursynth.withPlugins plugins;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-06-26 10:26:21 +00:00
|
|
|
inherit (vapoursynth) meta;
|
|
|
|
}
|
|
|
|
|