1{ lib 2, aiohttp 3, bleak 4, buildPythonPackage 5, csrmesh 6, fetchFromGitHub 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "halohome"; 12 version = "0.4.0"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "nayaverdier"; 18 repo = pname; 19 rev = version; 20 sha256 = "W7cqBJmoBUT0VvXeNKxUK0FfAuprjfvFv6rgyL2gqYQ="; 21 }; 22 23 propagatedBuildInputs = [ 24 aiohttp 25 bleak 26 csrmesh 27 ]; 28 29 # Project has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ 33 "halohome" 34 ]; 35 36 meta = with lib; { 37 description = "Python library to control Eaton HALO Home Smart Lights"; 38 homepage = "https://github.com/nayaverdier/halohome"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}