3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.protobuf: propagate native pkgs.protobuf input

Python packages depending on the protobuf library often use the "protoc"
tool from pkgs.protobuf to codegen at build time.

This fixes a few regressions from 5c7531872f
This commit is contained in:
Pierre Bourdon 2019-03-03 05:03:13 +01:00 committed by Frederik Rietdijk
parent 16c74f7eea
commit f20a66084f

View file

@ -14,7 +14,8 @@ buildPythonPackage rec {
++ optional (versionOlder protobuf.version "2.7.0") "-std=c++98";
propagatedBuildInputs = [ google_apputils ];
nativeBuildInputs = [ google_apputils pyext protobuf ];
propagatedNativeBuildInputs = [ protobuf ]; # For protoc.
nativeBuildInputs = [ google_apputils pyext ];
buildInputs = [ protobuf ];
patches = optional isPy37