3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages:google_api_core: 1.23.0 -> 1.24.1

This commit is contained in:
Sandro Jäckel 2021-01-05 11:02:48 +01:00
parent 4ea516df5e
commit eea72ef832
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,27 +1,44 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google_auth, protobuf
, googleapis_common_protos, requests, grpcio, mock, pytest, pytest-asyncio, pytestCheckHook }:
{ lib
, buildPythonPackage
, fetchPypi
, google_auth
, googleapis_common_protos
, grpcio
, protobuf
, pytz
, requests
, mock
, pytest
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "google-api-core";
version = "1.23.0";
disabled = pythonOlder "3.5";
version = "1.24.1";
src = fetchPypi {
inherit pname version;
sha256 = "1bb3c485c38eacded8d685b1759968f6cf47dd9432922d34edb90359eaa391e2";
sha256 = "0sflnpgsvk2h1cr1m3mgxx6pzz55xw7sk4y4qdimhs5jdm2fw78g";
};
propagatedBuildInputs =
[ googleapis_common_protos protobuf google_auth requests grpcio ];
propagatedBuildInputs = [
googleapis_common_protos
google_auth
grpcio
protobuf
pytz
requests
];
checkInputs = [ google_auth mock protobuf pytest-asyncio pytestCheckHook ];
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
# prevent google directory from shadowing google imports
preCheck = ''
rm -r google
'';
pythonImportsCheck = [ "google.auth" "google.protobuf" "google.api" ];
pythonImportsCheck = [ "google.api_core" ];
meta = with lib; {
description = "Core Library for Google Client Libraries";
@ -33,6 +50,6 @@ buildPythonPackage rec {
changelog =
"https://github.com/googleapis/python-api-core/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}