Merge pull request #160008 from fabaff/aiopyarr

python3Packages.aiopyarr: init at 22.2.1
This commit is contained in:
Fabian Affolter 2022-02-16 00:13:37 +01:00 committed by GitHub
commit 13adc1b694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -380,6 +380,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 { };