1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 google-api-core, 6 mock, 7 proto-plus, 8 protobuf, 9 pytest-asyncio, 10 pytestCheckHook, 11 pythonOlder, 12 setuptools, 13}: 14 15buildPythonPackage rec { 16 pname = "google-cloud-workflows"; 17 version = "1.14.3"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-IUC5f3gDe5Z9QYVXaIZ3L+F7530q6ZltIHozTtWnf/4="; 25 }; 26 27 nativeBuildInputs = [ setuptools ]; 28 29 propagatedBuildInputs = [ 30 google-api-core 31 proto-plus 32 protobuf 33 ] ++ google-api-core.optional-dependencies.grpc; 34 35 nativeCheckInputs = [ 36 mock 37 pytestCheckHook 38 pytest-asyncio 39 ]; 40 41 pythonImportsCheck = [ 42 "google.cloud.workflows" 43 "google.cloud.workflows_v1" 44 "google.cloud.workflows_v1beta" 45 ]; 46 47 meta = with lib; { 48 description = "Python Client for Cloud Workflows"; 49 homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-workflows"; 50 changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-workflows-v${version}/packages/google-cloud-workflows/CHANGELOG.md"; 51 license = licenses.asl20; 52 maintainers = with maintainers; [ fab ]; 53 }; 54}