{ lib, buildPythonPackage, fetchFromGitLab, setuptools, aiohttp, aioresponses, pytest-asyncio, pytestCheckHook, }: buildPythonPackage rec { pname = "doorbirdpy"; version = "3.0.3"; pyproject = true; src = fetchFromGitLab { owner = "klikini"; repo = "doorbirdpy"; rev = "refs/tags/${version}"; hash = "sha256-0UvzMFYKM/Sb9B2XwZwl+a9v7lTxAc1H59vR88VwDww="; }; build-system = [ setuptools ]; dependencies = [ aiohttp ]; nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "doorbirdpy" ]; meta = with lib; { changelog = "https://gitlab.com/klikini/doorbirdpy/-/tags/${version}"; description = "Python wrapper for the DoorBird LAN API"; homepage = "https://gitlab.com/klikini/doorbirdpy"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; }