1{ 2 lib, 3 aiohttp, 4 bleak, 5 buildPythonPackage, 6 csrmesh, 7 fetchFromGitHub, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "halohome"; 14 version = "0.7.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "nayaverdier"; 21 repo = "halohome"; 22 tag = version; 23 hash = "sha256-JOQ2q5lbdVTerXPt6QHBiTG9PzN9LiuLcN+XnOoyYjA="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 aiohttp 30 bleak 31 csrmesh 32 ]; 33 34 pythonRelaxDeps = [ "bleak" ]; 35 36 # Project has no tests 37 doCheck = false; 38 39 pythonImportsCheck = [ "halohome" ]; 40 41 meta = with lib; { 42 description = "Python library to control Eaton HALO Home Smart Lights"; 43 homepage = "https://github.com/nayaverdier/halohome"; 44 changelog = "https://github.com/nayaverdier/halohome/blob/${version}/CHANGELOG.md"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}