pythonPackages.google_cloud_tasks: 2.0.0 -> 2.1.0
This commit is contained in:
parent
0121e03f8e
commit
f262a96429
1 changed files with 23 additions and 12 deletions
|
@ -1,33 +1,44 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, enum34
|
|
||||||
, grpc_google_iam_v1
|
|
||||||
, google_api_core
|
, google_api_core
|
||||||
, pytest
|
, grpc_google_iam_v1
|
||||||
|
, libcst
|
||||||
, mock
|
, mock
|
||||||
|
, proto-plus
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-asyncio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-tasks";
|
pname = "google-cloud-tasks";
|
||||||
version = "2.0.0";
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "a9dd004057fc441eee8c18bb2dc3bb20ba7b85f353d66894c61e42aeb8764e76";
|
sha256 = "1jsf7y88lvln9r08pmx673ibmgw397qmir5drrcfvlmgqvszp7qx";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest mock ];
|
propagatedBuildInputs = [ google_api_core grpc_google_iam_v1 libcst proto-plus ];
|
||||||
propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||||
pytest tests/unit
|
|
||||||
'';
|
disabledTests = [
|
||||||
|
# requires credentials
|
||||||
|
"test_list_queues"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"google.cloud.tasks"
|
||||||
|
"google.cloud.tasks_v2"
|
||||||
|
"google.cloud.tasks_v2beta2"
|
||||||
|
"google.cloud.tasks_v2beta3"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Cloud Tasks API API client library";
|
description = "Cloud Tasks API API client library";
|
||||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
homepage = "https://github.com/googleapis/python-tasks";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.costrouc ];
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue