My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/google-cloud-tasks/default.nix

44 lines
947 B

{ 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.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-VfRDZRgwq1pOwjzmq6mdbVqcT6wQdD6qOMivQn4Ua10=";
};
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 ];
};
}