1{ 2 lib, 3 aiohttp, 4 awesomeversion, 5 buildPythonPackage, 6 fetchPypi, 7 hatchling, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "tplink-omada-client"; 13 version = "1.4.4"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.9"; 17 18 src = fetchPypi { 19 pname = "tplink_omada_client"; 20 inherit version; 21 hash = "sha256-6MiPgseHrqgD+DGth5rJ03HK+0YfBpmDPXybzrTDeeA="; 22 }; 23 24 build-system = [ hatchling ]; 25 26 dependencies = [ 27 aiohttp 28 awesomeversion 29 ]; 30 31 # Module have no tests 32 doCheck = false; 33 34 pythonImportsCheck = [ "tplink_omada_client" ]; 35 36 meta = with lib; { 37 description = "Library for the TP-Link Omada SDN Controller API"; 38 homepage = "https://github.com/MarkGodwin/tplink-omada-api"; 39 changelog = "https://github.com/MarkGodwin/tplink-omada-api/releases/tag/release%2Fv${version}"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ fab ]; 42 mainProgram = "omada"; 43 }; 44}