1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, protobuf 5}: 6 7buildPythonPackage rec { 8 pname = "pycomfoconnect"; 9 version = "0.4"; 10 11 src = fetchFromGitHub { 12 owner = "michaelarnauts"; 13 repo = "comfoconnect"; 14 rev = version; 15 sha256 = "0bipzv68yw056iz9m2g9h40hzrwd058a7crxp0xbq4rw2d8j0jn6"; 16 }; 17 18 propagatedBuildInputs = [ 19 protobuf 20 ]; 21 22 # Project has no tests 23 doCheck = false; 24 25 pythonImportsCheck = [ "pycomfoconnect" ]; 26 27 meta = with lib; { 28 description = "Python module to interact with ComfoAir Q350/450/600 units"; 29 homepage = "https://github.com/michaelarnauts/comfoconnect"; 30 license = with licenses; [ mit ]; 31 maintainers = with maintainers; [ fab ]; 32 }; 33}