nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 53 lines 961 B view raw
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 = "4.0.2"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "sha256-C2hAkWSb3h+lFC3pUIHlttme44Ugfae8opmFQbVWYTE="; 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}