{ lib , aiohttp , aioresponses , async-timeout , buildPythonPackage , fetchFromGitHub , orjson , pytest-aiohttp , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "pydeconz"; version = "110"; format = "setuptools"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "Kane610"; repo = "deconz"; rev = "refs/tags/v${version}"; hash = "sha256-2eHKFq+urzJS3K55O0hca0h4ElowJZD6nIkYkzyBFCM="; }; propagatedBuildInputs = [ aiohttp async-timeout orjson ]; nativeCheckInputs = [ aioresponses pytest-aiohttp pytestCheckHook ]; pythonImportsCheck = [ "pydeconz" ]; meta = with lib; { description = "Python library wrapping the Deconz REST API"; homepage = "https://github.com/Kane610/deconz"; changelog = "https://github.com/Kane610/deconz/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }