1{ lib 2, buildPythonPackage 3, fetchPypi 4, google-api-core 5, mock 6, libcst 7, proto-plus 8, pytestCheckHook 9, pytest-asyncio 10, pythonOlder 11}: 12 13buildPythonPackage rec { 14 pname = "google-cloud-dataproc"; 15 version = "5.0.3"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-gE4PyJCrgEekqR3S4YNUtp3yd2AOt7TmKvvDaJ4stk0="; 23 }; 24 25 propagatedBuildInputs = [ 26 google-api-core 27 libcst 28 proto-plus 29 ]; 30 31 checkInputs = [ 32 mock 33 pytestCheckHook 34 pytest-asyncio 35 ]; 36 37 disabledTests = [ 38 # requires credentials 39 "test_list_clusters" 40 ]; 41 42 pythonImportsCheck = [ 43 "google.cloud.dataproc" 44 "google.cloud.dataproc_v1" 45 ]; 46 47 meta = with lib; { 48 description = "Google Cloud Dataproc API client library"; 49 homepage = "https://github.com/googleapis/python-dataproc"; 50 license = licenses.asl20; 51 maintainers = with maintainers; [ SuperSandro2000 ]; 52 }; 53}