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