1{ 2 lib, 3 aiohttp, 4 async-timeout, 5 buildPythonPackage, 6 fetchFromGitHub, 7 pytest-cov-stub, 8 pytestCheckHook, 9 setuptools, 10 slixmpp, 11}: 12 13buildPythonPackage rec { 14 pname = "aioharmony"; 15 version = "0.5.3"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "Harmony-Libs"; 20 repo = "aioharmony"; 21 tag = "v${version}"; 22 hash = "sha256-H5zVY7LvTP8/CQtUGtXCXxOfG8GFQgdp7BY8jl9X+Gc="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 aiohttp 29 async-timeout 30 slixmpp 31 ]; 32 33 nativeCheckInputs = [ 34 pytest-cov-stub 35 pytestCheckHook 36 ]; 37 38 pythonImportsCheck = [ 39 "aioharmony.harmonyapi" 40 "aioharmony.harmonyclient" 41 ]; 42 43 meta = with lib; { 44 homepage = "https://github.com/Harmony-Libs/aioharmony"; 45 description = "Python library for interacting the Logitech Harmony devices"; 46 mainProgram = "aioharmony"; 47 license = licenses.asl20; 48 maintainers = with maintainers; [ oro ]; 49 }; 50}