1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, aiohttp 5, yarl 6, aresponses 7, pytest-asyncio 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "sonarr"; 13 version = "0.3.0"; 14 15 src = fetchFromGitHub { 16 owner = "ctalkington"; 17 repo = "python-sonarr"; 18 rev = version; 19 sha256 = "0gi34951qhzzrq59hj93mnkid8cvvknlamkhir6ya9mb23fr7bya"; 20 }; 21 22 propagatedBuildInputs = [ 23 aiohttp 24 yarl 25 ]; 26 27 checkInputs = [ 28 aresponses 29 pytest-asyncio 30 pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ "sonarr" ]; 34 35 meta = with lib; { 36 description = "Asynchronous Python client for the Sonarr API"; 37 homepage = "https://github.com/ctalkington/python-sonarr"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ dotlambda ]; 40 }; 41}