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