depot/third_party/nixpkgs/pkgs/development/python-modules/vapoursynth/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
566 B
Nix

{ vapoursynth, cython, buildPythonPackage, unittestCheckHook, python }:
buildPythonPackage {
pname = "vapoursynth";
format = "setuptools";
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;
}