Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-tasks / default.nix
blobc01c294ec334ce7c9bb3d789574bc84289c923ec
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , grpc_google_iam_v1
6 , libcst
7 , mock
8 , proto-plus
9 , pytestCheckHook
10 , pytest-asyncio
13 buildPythonPackage rec {
14   pname = "google-cloud-tasks";
15   version = "2.2.0";
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "6be2f2bca14b4eb1c1bdb0f4ba1dadf791e79a2a3e1fae762e5631a3d9fe094e";
20   };
22   propagatedBuildInputs = [ google-api-core grpc_google_iam_v1 libcst proto-plus ];
24   checkInputs = [ mock pytestCheckHook pytest-asyncio ];
26   disabledTests = [
27     # requires credentials
28     "test_list_queues"
29   ];
31   pythonImportsCheck = [
32     "google.cloud.tasks"
33     "google.cloud.tasks_v2"
34     "google.cloud.tasks_v2beta2"
35     "google.cloud.tasks_v2beta3"
36   ];
38   meta = with lib; {
39     description = "Cloud Tasks API API client library";
40     homepage = "https://github.com/googleapis/python-tasks";
41     license = licenses.asl20;
42     maintainers = with maintainers; [ SuperSandro2000 ];
43   };