1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "pyintesishome"; 11 version = "1.8.5"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "jnimmo"; 18 repo = "pyIntesisHome"; 19 tag = version; 20 hash = "sha256-QgIvIn8I5EtJSNj1FdOI+DPgG7/y2ToQ62dhk7flieo="; 21 }; 22 23 propagatedBuildInputs = [ aiohttp ]; 24 25 # Project has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "pyintesishome" ]; 29 30 meta = with lib; { 31 description = "Python interface for IntesisHome devices"; 32 homepage = "https://github.com/jnimmo/pyIntesisHome"; 33 changelog = "https://github.com/jnimmo/pyIntesisHome/releases/tag/${version}"; 34 license = with licenses; [ mit ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}