a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
31 lines
541 B
Nix
31 lines
541 B
Nix
{ vapoursynth, cython, buildPythonPackage, unittestCheckHook, python }:
|
|
|
|
buildPythonPackage {
|
|
pname = "vapoursynth";
|
|
|
|
inherit (vapoursynth) version src;
|
|
|
|
nativeBuildInputs = [
|
|
cython
|
|
];
|
|
|
|
buildInputs = [
|
|
vapoursynth
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
unittestCheckHook
|
|
];
|
|
|
|
unittestFlagsArray = [ "-s" "$src/test" "-p" "'*test.py'" ];
|
|
|
|
passthru = {
|
|
withPlugins = plugins:
|
|
python.pkgs.vapoursynth.override {
|
|
vapoursynth = vapoursynth.withPlugins plugins;
|
|
};
|
|
};
|
|
|
|
inherit (vapoursynth) meta;
|
|
}
|
|
|