python3Packages.sonarr: init at 0.3.0

This commit is contained in:
Robert Schütz 2021-06-29 11:44:56 +02:00
parent fc70bcf4df
commit 96f9da0808
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, yarl
, aresponses
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "sonarr";
version = "0.3.0";
src = fetchFromGitHub {
owner = "ctalkington";
repo = "python-sonarr";
rev = version;
sha256 = "0gi34951qhzzrq59hj93mnkid8cvvknlamkhir6ya9mb23fr7bya";
};
propagatedBuildInputs = [
aiohttp
yarl
];
checkInputs = [
aresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "sonarr" ];
meta = with lib; {
description = "Asynchronous Python client for the Sonarr API";
homepage = "https://github.com/ctalkington/python-sonarr";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -8056,6 +8056,8 @@ in {
somecomfort = callPackage ../development/python-modules/somecomfort { };
sonarr = callPackage ../development/python-modules/sonarr { };
sopel = callPackage ../development/python-modules/sopel { };
sorl_thumbnail = callPackage ../development/python-modules/sorl_thumbnail { };