1{ 2 lib, 3 aiohttp, 4 async-timeout, 5 buildPythonPackage, 6 fetchPypi, 7 pythonOlder, 8 slixmpp, 9}: 10 11buildPythonPackage rec { 12 pname = "aioharmony"; 13 version = "0.2.10"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-18+38QunEdEGdirQOT+528vYqiqDuUr/CWRQtXKf4rs="; 21 }; 22 23 propagatedBuildInputs = [ 24 aiohttp 25 async-timeout 26 slixmpp 27 ]; 28 29 # aioharmony does not seem to include tests 30 doCheck = false; 31 32 pythonImportsCheck = [ 33 "aioharmony.harmonyapi" 34 "aioharmony.harmonyclient" 35 ]; 36 37 meta = with lib; { 38 homepage = "https://github.com/ehendrix23/aioharmony"; 39 description = "Python library for interacting the Logitech Harmony devices"; 40 mainProgram = "aioharmony"; 41 license = licenses.asl20; 42 maintainers = with maintainers; [ oro ]; 43 }; 44}