1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 html-table-parser-python3, 7 requests, 8}: 9 10buildPythonPackage rec { 11 pname = "bthomehub5-devicelist"; 12 version = "0.1.1"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-bWMwLbFGdMRcZLIVbOptWMOOFzVBm2KxQ9jwqvAU6zA="; 18 }; 19 20 pythonRelaxDeps = [ "html-table-parser-python3" ]; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 html-table-parser-python3 26 requests 27 ]; 28 29 # No tests in the package 30 doCheck = false; 31 32 pythonImportsCheck = [ "bthomehub5_devicelist" ]; 33 34 meta = { 35 description = "Returns a list of devices currently connected to a BT Home Hub 5"; 36 homepage = "https://github.com/ahobsonsayers/bthomehub5-devicelist"; 37 license = lib.licenses.bsd2; 38 maintainers = with lib.maintainers; [ pyrox0 ]; 39 }; 40}