1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "incomfort-client"; 10 version = "0.4.5"; 11 disabled = pythonOlder "3.7"; 12 13 src = fetchFromGitHub { 14 owner = "zxdavb"; 15 repo = pname; 16 rev = version; 17 sha256 = "0r9f15fcjwhrq6ldji1dzbb76wsvinpkmyyaj7n55rl6ibnsyrwp"; 18 }; 19 20 propagatedBuildInputs = [ 21 aiohttp 22 ]; 23 24 # Project has no tests 25 doCheck = false; 26 pythonImportsCheck = [ "incomfortclient" ]; 27 28 meta = with lib; { 29 description = "Python module to poll Intergas boilers via a Lan2RF gateway"; 30 homepage = "https://github.com/zxdavb/incomfort-client"; 31 license = with licenses; [ mit ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}