pythonPackages:google_api_core: 1.23.0 -> 1.24.1
This commit is contained in:
parent
4ea516df5e
commit
eea72ef832
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user