1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 meteocalc, 7 pytest-aiohttp, 8 pytestCheckHook, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "aioecowitt"; 14 version = "2025.9.2"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "home-assistant-libs"; 19 repo = "aioecowitt"; 20 tag = version; 21 hash = "sha256-lQ2t8u3+sk8wnNfCZs2yhe9nsZwiGBHXPDz95egacsI="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 aiohttp 28 meteocalc 29 ]; 30 31 nativeCheckInputs = [ 32 pytest-aiohttp 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "aioecowitt" ]; 37 38 meta = { 39 description = "Wrapper for the EcoWitt protocol"; 40 homepage = "https://github.com/home-assistant-libs/aioecowitt"; 41 changelog = "https://github.com/home-assistant-libs/aioecowitt/releases/tag/${version}"; 42 license = lib.licenses.asl20; 43 maintainers = with lib.maintainers; [ fab ]; 44 }; 45}