45 lines
960 B
Nix
45 lines
960 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, google-api-core
|
|
, grpc-google-iam-v1
|
|
, libcst
|
|
, mock
|
|
, proto-plus
|
|
, pytestCheckHook
|
|
, pytest-asyncio
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-tasks";
|
|
version = "2.6.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "fd9fe318063ec0f7e4e1780aca81a798d3e90e8def1c24b6f450ea1a8c131c0a";
|
|
};
|
|
|
|
propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ];
|
|
|
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
|
|
|
disabledTests = [
|
|
# requires credentials
|
|
"test_list_queues"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"google.cloud.tasks"
|
|
"google.cloud.tasks_v2"
|
|
"google.cloud.tasks_v2beta2"
|
|
"google.cloud.tasks_v2beta3"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Cloud Tasks API API client library";
|
|
homepage = "https://github.com/googleapis/python-tasks";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|