1{ lib 2, aiohttp 3, asynctest 4, buildPythonPackage 5, coreutils 6, fetchFromGitHub 7, google-auth 8, google-auth-oauthlib 9, google-cloud-pubsub 10, pytest-aiohttp 11, pytest-asyncio 12, pytestCheckHook 13, pythonOlder 14, requests-oauthlib 15}: 16 17buildPythonPackage rec { 18 pname = "google-nest-sdm"; 19 version = "2.1.0"; 20 format = "setuptools"; 21 22 disabled = pythonOlder "3.8"; 23 24 src = fetchFromGitHub { 25 owner = "allenporter"; 26 repo = "python-google-nest-sdm"; 27 rev = "refs/tags/${version}"; 28 hash = "sha256-gT8Zrjzzunm5nt0GHYY0z2ZxtKBSc6FXndlrStbwo64="; 29 }; 30 31 propagatedBuildInputs = [ 32 aiohttp 33 google-auth 34 google-auth-oauthlib 35 google-cloud-pubsub 36 requests-oauthlib 37 ]; 38 39 checkInputs = [ 40 asynctest 41 coreutils 42 pytest-aiohttp 43 pytest-asyncio 44 pytestCheckHook 45 ]; 46 47 pythonImportsCheck = [ 48 "google_nest_sdm" 49 ]; 50 51 disabledTests = [ 52 "test_clip_preview_transcode" 53 "test_event_manager_event_expiration_with_transcode" 54 ]; 55 56 meta = with lib; { 57 description = "Module for Google Nest Device Access using the Smart Device Management API"; 58 homepage = "https://github.com/allenporter/python-google-nest-sdm"; 59 license = licenses.asl20; 60 maintainers = with maintainers; [ fab ]; 61 }; 62}