diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-02-14 17:42:12 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-02-14 17:42:12 +0100 |
commit | 4be6e3e90de83787e23e86d5f41e7769d995930b (patch) | |
tree | 0eb92c32473f9392d4e346f4004292d03ebb3b26 /pkgs | |
parent | c3a5c4942921c86559ba8542259bbecdcacaeac9 (diff) |
python3Packages.aiopyarr: init at 22.2.1
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/aiopyarr/default.nix | 45 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiopyarr/default.nix b/pkgs/development/python-modules/aiopyarr/default.nix new file mode 100644 index 0000000000000..54eab469629fe --- /dev/null +++ b/pkgs/development/python-modules/aiopyarr/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 09e150fc67170..c4dde2be0d304 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { }; |