1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pydantic, 7 pytest-aiohttp, 8 pytestCheckHook, 9 pythonOlder, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "zwave-js-server-python"; 15 version = "0.67.1"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.12"; 19 20 src = fetchFromGitHub { 21 owner = "home-assistant-libs"; 22 repo = "zwave-js-server-python"; 23 tag = version; 24 hash = "sha256-9z0IYeH2Tch2de18UnEwQ+lmVaZwb/3kJmvcl0MWJ60="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 aiohttp 31 pydantic 32 ]; 33 34 nativeCheckInputs = [ 35 pytest-aiohttp 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ "zwave_js_server" ]; 40 41 meta = with lib; { 42 description = "Python wrapper for zwave-js-server"; 43 homepage = "https://github.com/home-assistant-libs/zwave-js-server-python"; 44 changelog = "https://github.com/home-assistant-libs/zwave-js-server-python/releases/tag/${src.tag}"; 45 license = with licenses; [ asl20 ]; 46 maintainers = with maintainers; [ fab ]; 47 mainProgram = "zwave-js-server-python"; 48 }; 49}