Add libusb dependency for pyrealsense2

This commit is contained in:
Sem Mulder 2022-10-06 13:49:12 +02:00 committed by adisbladis
parent 548e7a8bcf
commit 793f8f1b16

View file

@ -1747,6 +1747,10 @@ lib.composeManyExtensions [
}
);
pyrealsense2 = super.pyrealsense2.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.libusb1.out ];
});
pyrfr = super.pyrfr.overridePythonAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.swig ];
});