mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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 changed files with 4 additions and 4 deletions
|
@ -1,20 +1,20 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27
|
{ 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 {
|
buildPythonPackage rec {
|
||||||
pname = "google-api-core";
|
pname = "google-api-core";
|
||||||
version = "1.15.0";
|
version = "1.16.0";
|
||||||
disabled = isPy27; # google namespace no longer works on python2
|
disabled = isPy27; # google namespace no longer works on python2
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "2d661c8d650a1df5805d0e360121cb55c55d8bd29f858fa62cbe943e59ce89f7";
|
sha256 = "1qh30ji399gngv2j1czzvi3h0mgx3lfdx2n8qp8vii7ihyh65scj";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
googleapis_common_protos protobuf
|
googleapis_common_protos protobuf
|
||||||
google_auth requests setuptools grpcio
|
google_auth requests setuptools grpcio
|
||||||
] ++ lib.optional (pythonOlder "3.2") futures;
|
];
|
||||||
|
|
||||||
# requires nox
|
# requires nox
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue