1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6}: 7 8buildPythonPackage rec { 9 pname = "luxtronik"; 10 version = "0.3.14"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "Bouni"; 17 repo = "python-luxtronik"; 18 rev = version; 19 hash = "sha256-7TuvqOAb/MUumOF6BKTRLOJuvteqZPmFUXXsuwEpmOM="; 20 }; 21 22 # Project has no tests 23 doCheck = false; 24 25 pythonImportsCheck = [ "luxtronik" ]; 26 27 meta = with lib; { 28 description = "Python library to interact with Luxtronik heatpump controllers"; 29 homepage = "https://github.com/Bouni/python-luxtronik"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ fab ]; 32 }; 33}