1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "pydevccu"; 9 version = "0.1.3"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.8"; 13 14 src = fetchFromGitHub { 15 owner = "danielperna84"; 16 repo = pname; 17 rev = version; 18 sha256 = "sha256-rbxYTpB6ieZBYbbE1AKVEc/lapWlOUMOrSHCkuwkzLg="; 19 }; 20 21 # Module has no tests 22 doCheck = false; 23 24 pythonImportsCheck = [ 25 "pydevccu" 26 ]; 27 28 meta = with lib; { 29 description = "HomeMatic CCU XML-RPC Server with fake devices"; 30 homepage = "https://github.com/danielperna84/pydevccu"; 31 license = with licenses; [ mit ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}