Files
nixpkgs/pkgs/development/python-modules/vapoursynth/default.nix
Wolfgang Walther 5ea3790cbe python3Packages.vapoursynth: remove useless $src from unittestFlagsArray
Avoids the use of bash eval in unittestFlagsArray, which we want to
remove.
2024-11-12 21:09:44 +01:00

35 lines
557 B
Nix

{
vapoursynth,
cython,
buildPythonPackage,
unittestCheckHook,
python,
}:
buildPythonPackage {
pname = "vapoursynth";
format = "setuptools";
inherit (vapoursynth) version src;
nativeBuildInputs = [ cython ];
buildInputs = [ vapoursynth ];
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [
"-s"
"test"
"-p"
"'*test.py'"
];
passthru = {
withPlugins =
plugins: python.pkgs.vapoursynth.override { vapoursynth = vapoursynth.withPlugins plugins; };
};
inherit (vapoursynth) meta;
}