{ lib , aiohttp , aresponses , buildPythonPackage , ciso8601 , fetchFromGitHub , orjson , pytest-asyncio , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "aiopyarr"; version = "22.10.0"; format = "setuptools"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "tkdrob"; repo = pname; rev = version; hash = "sha256-FpBKhxFFMG5WgQ3TCAcg1P+cGVGU7LiJ+Zr4kL2Nl88="; }; propagatedBuildInputs = [ aiohttp ciso8601 orjson ]; checkInputs = [ aresponses pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "aiopyarr" ]; meta = with lib; { description = "Python API client for Lidarr/Radarr/Readarr/Sonarr"; homepage = "https://github.com/tkdrob/aiopyarr"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }