opencv: fix build of the videoio module on darwin

This commit is contained in:
Bas van Dijk 2017-12-31 14:01:36 +01:00 committed by Orivej Desh
parent 13639d24ef
commit 72a76fe8c3

View file

@ -205,7 +205,7 @@ stdenv.mkDerivation rec {
# tesseract & leptonica.
++ lib.optionals enableTesseract [ tesseract leptonica ]
++ lib.optional enableCuda cudatoolkit
++ lib.optionals stdenv.isDarwin [ AVFoundation Cocoa QTKit ]
++ lib.optionals stdenv.isDarwin [ AVFoundation Cocoa QTKit VideoDecodeAcceleration bzip2 ]
++ lib.optionals enableDocs [ doxygen graphviz-nox ];
propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy;