python.pkgs.protobuf: fix build

This commit is contained in:
Frederik Rietdijk 2019-02-15 09:02:59 +01:00
parent d3675b5f77
commit 5c7531872f

View File

@ -13,8 +13,9 @@ buildPythonPackage rec {
optional stdenv.isDarwin "-I${libcxx}/include/c++/v1"
++ optional (versionOlder protobuf.version "2.7.0") "-std=c++98";
propagatedBuildInputs = [ protobuf google_apputils ];
buildInputs = [ google_apputils pyext ];
propagatedBuildInputs = [ google_apputils ];
nativeBuildInputs = [ google_apputils pyext protobuf ];
buildInputs = [ protobuf ];
patches = optional isPy37
# Python 3.7 compatibility (remove when protobuf 3.7 is released)