mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
python3Packages.google_api_core: 0.15.0 -> 1.16.0
Also drop 3.2 compatibility; google-api-core version 1.16.0 requires at least Python 3.5, there is no point in keeping a Python 3.2 check around here.
This commit is contained in:
parent
d4384a4dbb
commit
c4767b86a3
@ -1,20 +1,20 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27
|
||||
, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio, futures, mock }:
|
||||
, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-api-core";
|
||||
version = "1.15.0";
|
||||
version = "1.16.0";
|
||||
disabled = isPy27; # google namespace no longer works on python2
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2d661c8d650a1df5805d0e360121cb55c55d8bd29f858fa62cbe943e59ce89f7";
|
||||
sha256 = "1qh30ji399gngv2j1czzvi3h0mgx3lfdx2n8qp8vii7ihyh65scj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
googleapis_common_protos protobuf
|
||||
google_auth requests setuptools grpcio
|
||||
] ++ lib.optional (pythonOlder "3.2") futures;
|
||||
];
|
||||
|
||||
# requires nox
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user