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:
committed by
Frederik Rietdijk
parent
16c74f7eea
commit
f20a66084f
@@ -14,7 +14,8 @@ buildPythonPackage rec {
|
|||||||
++ optional (versionOlder protobuf.version "2.7.0") "-std=c++98";
|
++ optional (versionOlder protobuf.version "2.7.0") "-std=c++98";
|
||||||
|
|
||||||
propagatedBuildInputs = [ google_apputils ];
|
propagatedBuildInputs = [ google_apputils ];
|
||||||
nativeBuildInputs = [ google_apputils pyext protobuf ];
|
propagatedNativeBuildInputs = [ protobuf ]; # For protoc.
|
||||||
|
nativeBuildInputs = [ google_apputils pyext ];
|
||||||
buildInputs = [ protobuf ];
|
buildInputs = [ protobuf ];
|
||||||
|
|
||||||
patches = optional isPy37
|
patches = optional isPy37
|
||||||
|
|||||||
Reference in New Issue
Block a user