python.pkgs.protobuf: use 3.5 by default

This commit is contained in:
Robert Schütz
2018-04-08 00:04:44 +02:00
committed by Frederik Rietdijk
parent b1c6c0af87
commit 35b38b021b
5 changed files with 9 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, lib
, six, protobuf3_5, enum34, futures, isPy26, isPy27, isPy34 }:
, six, protobuf, enum34, futures, isPy26, isPy27, isPy34 }:
buildPythonPackage rec {
pname = "grpcio";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
sha256 = "e7c43b5619deff48cc177c1b0618c4beeb2797f910f160e3c2035d5baf790a5d";
};
propagatedBuildInputs = [ six protobuf3_5 ]
propagatedBuildInputs = [ six protobuf ]
++ lib.optionals (isPy26 || isPy27 || isPy34) [ enum34 ]
++ lib.optionals (isPy26 || isPy27) [ futures ];