{ lib , aiohttp , async-timeout , asyncio-dgram , asynctest , buildPythonPackage , docutils , fetchFromGitHub , poetry-core , pytest-aiohttp , pytest-asyncio , pytestCheckHook , voluptuous }: buildPythonPackage rec { pname = "aioguardian"; version = "2022.07.0"; src = fetchFromGitHub { owner = "bachya"; repo = pname; rev = "refs/tags/${version}"; sha256 = "sha256-87MumQ6MuhRRDHrcH1nmOPviKDaT4crYnq5Pd26qsLw="; }; format = "pyproject"; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiohttp async-timeout asyncio-dgram docutils voluptuous ]; checkInputs = [ asyncio-dgram asynctest pytest-aiohttp pytest-asyncio pytestCheckHook ]; postPatch = '' substituteInPlace pyproject.toml \ --replace 'docutils = "<0.18"' 'docutils = "*"' ''; disabledTestPaths = [ "examples/" ]; pythonImportsCheck = [ "aioguardian" ]; meta = with lib; { description = " Python library to interact with Elexa Guardian devices"; longDescription = '' aioguardian is a Pytho3, asyncio-focused library for interacting with the Guardian line of water valves and sensors from Elexa. ''; homepage = "https://github.com/bachya/aioguardian"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }