1{ 2 lib, 3 bleak, 4 bleak-retry-connector, 5 buildPythonPackage, 6 fetchFromGitHub, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "cometblue-lite"; 12 version = "0.7.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "neffs"; 19 repo = "python-cometblue_lite"; 20 tag = version; 21 hash = "sha256-Cjd7PdZ2/neRr1jStDY5iJaGMJ/srnFmCea8aLNan6g="; 22 }; 23 24 propagatedBuildInputs = [ 25 bleak 26 bleak-retry-connector 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ "cometblue_lite" ]; 33 34 meta = with lib; { 35 description = "Module for Eurotronic Comet Blue thermostats"; 36 homepage = "https://github.com/neffs/python-cometblue_lite"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}