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