pythonPackages.google-api-core: disable for python2

google.* namespace no longer works
This commit is contained in:
Jonathan Ringer 2019-10-17 09:03:13 -07:00 committed by Frederik Rietdijk
parent cd517668c7
commit 9055fd2535

View File

@ -1,9 +1,10 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27
, google_auth, protobuf, googleapis_common_protos, requests, grpcio, futures, mock, pytest }:
buildPythonPackage rec {
pname = "google-api-core";
version = "1.7.0";
disabled = isPy27; # google namespace no longer works on python2
src = fetchPypi {
inherit pname version;