1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pyserial, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "python-velbus"; 11 version = "2.1.14"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-3eDfXPMO167QI/umLBjlHTBV67XQ8QYkg4EzfrRTw6M="; 19 }; 20 21 propagatedBuildInputs = [ pyserial ]; 22 23 # Project has not tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "velbus" ]; 27 28 meta = with lib; { 29 description = "Python library to control the Velbus home automation system"; 30 homepage = "https://github.com/thomasdelaet/python-velbus"; 31 license = with licenses; [ mit ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}