1{ lib 2, buildPythonPackage 3, fetchPypi 4, aiohttp 5, attrs 6, defusedxml 7}: 8 9buildPythonPackage rec { 10 pname = "connect-box"; 11 version = "0.3.0"; 12 13 src = fetchPypi { 14 pname = "connect_box"; 15 inherit version; 16 hash = "sha256-d1KqVKaHlZDm2o1GJ7r8KoONwfd1lxXexJxavCvjfW8="; 17 }; 18 19 propagatedBuildInputs = [ 20 aiohttp 21 attrs 22 defusedxml 23 ]; 24 25 # no tests are present 26 doCheck = false; 27 28 pythonImportsCheck = [ "connect_box" ]; 29 30 meta = with lib; { 31 description = "Interact with a Compal CH7465LG cable modem/router"; 32 longDescription = '' 33 Python Client for interacting with the cable modem/router Compal 34 CH7465LG which is provided under different names by various ISP 35 in Europe, e.g., UPC Connect Box (CH), Irish Virgin Media Super 36 Hub 3.0 (IE), Ziggo Connectbox (NL) or Unitymedia Connect Box (DE). 37 ''; 38 homepage = "https://github.com/home-assistant-ecosystem/python-connect-box"; 39 license = with licenses; [ mit ]; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}