1{ lib 2, aiohttp 3, aresponses 4, buildPythonPackage 5, ciso8601 6, fetchFromGitHub 7, orjson 8, pytest-asyncio 9, pytestCheckHook 10, pythonOlder 11}: 12 13buildPythonPackage rec { 14 pname = "aiopyarr"; 15 version = "22.11.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.9"; 19 20 src = fetchFromGitHub { 21 owner = "tkdrob"; 22 repo = pname; 23 rev = version; 24 hash = "sha256-8/ixL4ByaBYoPbB4g+Rgx+5OM6vjrFTUEPR42wBKyyg="; 25 }; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 ciso8601 30 orjson 31 ]; 32 33 checkInputs = [ 34 aresponses 35 pytest-asyncio 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ 40 "aiopyarr" 41 ]; 42 43 meta = with lib; { 44 description = "Python API client for Lidarr/Radarr/Readarr/Sonarr"; 45 homepage = "https://github.com/tkdrob/aiopyarr"; 46 license = with licenses; [ mit ]; 47 maintainers = with maintainers; [ fab ]; 48 }; 49}