Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
python.pkgs.protobuf: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Feb 17, 2019
1 parent d3675b5 commit 5c75318
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/protobuf/default.nix
Expand Up @@ -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)
Expand Down

0 comments on commit 5c75318

Please sign in to comment.