{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, mashumaro, orjson, poetry-core, pyprojectVersionPatchHook, pytest-asyncio, pytest-cov-stub, pytestCheckHook, syrupy, yarl, }: buildPythonPackage (finalAttrs: { pname = "airgradient"; version = "0.10.0"; pyproject = true; src = fetchFromGitHub { owner = "airgradienthq"; repo = "python-airgradient"; tag = "v${finalAttrs.version}"; hash = "sha256-OlCCImVvoDqOA/LiSShCXwQACHw5Hmwc10BXaMz1DD8="; }; nativeBuildInputs = [ pyprojectVersionPatchHook ]; build-system = [ poetry-core ]; dependencies = [ aiohttp mashumaro orjson yarl ]; nativeCheckInputs = [ aioresponses pytest-asyncio pytest-cov-stub pytestCheckHook syrupy ]; pythonImportsCheck = [ "airgradient" ]; meta = { description = "Module for AirGradient"; homepage = "https://github.com/airgradienthq/python-airgradient"; changelog = "https://github.com/airgradienthq/python-airgradient/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; })