protobuf: default to 3.4

This commit is contained in:
Nikolay Amiantov
2017-09-05 18:11:41 +03:00
parent 721aba33b4
commit 6f7b62e038
11 changed files with 24 additions and 29 deletions

View File

@@ -8,7 +8,7 @@
, enableJPEG2K ? true, jasper
, enableIpp ? false
, enableContrib ? false, protobuf3_1
, enableContrib ? false, protobuf
, enablePython ? false, pythonPackages
, enableGtk2 ? false, gtk2
, enableGtk3 ? false, gtk3
@@ -146,7 +146,7 @@ stdenv.mkDerivation rec {
# tesseract & leptonica.
++ lib.optionals enableTesseract [ tesseract leptonica ]
++ lib.optionals enableCuda [ cudatoolkit gcc5 ]
++ lib.optional buildContrib protobuf3_1
++ lib.optional buildContrib protobuf
++ lib.optionals stdenv.isDarwin [ AVFoundation Cocoa QTKit ];
propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy;