python.pkgs.protobuf: fix build
This commit is contained in:
@@ -13,8 +13,9 @@ buildPythonPackage rec {
|
|||||||
optional stdenv.isDarwin "-I${libcxx}/include/c++/v1"
|
optional stdenv.isDarwin "-I${libcxx}/include/c++/v1"
|
||||||
++ optional (versionOlder protobuf.version "2.7.0") "-std=c++98";
|
++ optional (versionOlder protobuf.version "2.7.0") "-std=c++98";
|
||||||
|
|
||||||
propagatedBuildInputs = [ protobuf google_apputils ];
|
propagatedBuildInputs = [ google_apputils ];
|
||||||
buildInputs = [ google_apputils pyext ];
|
nativeBuildInputs = [ google_apputils pyext protobuf ];
|
||||||
|
buildInputs = [ protobuf ];
|
||||||
|
|
||||||
patches = optional isPy37
|
patches = optional isPy37
|
||||||
# Python 3.7 compatibility (remove when protobuf 3.7 is released)
|
# Python 3.7 compatibility (remove when protobuf 3.7 is released)
|
||||||
|
|||||||
Reference in New Issue
Block a user