python3Packages.aiopyarr: init at 22.2.1

This commit is contained in:
Fabian Affolter 2022-02-14 17:42:12 +01:00
parent c3a5c49429
commit 4be6e3e90d
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, aiohttp
, aresponses
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiopyarr";
version = "22.2.1";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "tkdrob";
repo = pname;
rev = version;
hash = "sha256-SEF47hz5XbATuuuO5t5H40+kT7RWSBjP0BfYd38pNSw=";
};
propagatedBuildInputs = [
aiohttp
];
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 ];
};
}

View File

@ -378,6 +378,8 @@ in {
aiopvpc = callPackage ../development/python-modules/aiopvpc { };
aiopyarr = callPackage ../development/python-modules/aiopyarr { };
aiopylgtv = callPackage ../development/python-modules/aiopylgtv { };
aiorecollect = callPackage ../development/python-modules/aiorecollect { };