1{ lib
2, fetchPypi
3, buildPythonPackage
4, types-requests
5, requests
6}:
7
8buildPythonPackage rec {
9 pname = "pyarr";
10 version = "4.1.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-3DX02V3Srpx6hqimWbesxfkDqslVH4+8uXY7XYDmjX0=";
15 };
16
17 propagatedBuildInputs = [
18 requests
19 types-requests
20 ];
21
22 pythonImportsCheck = [ "pyarr" ];
23
24 meta = with lib; {
25 description = "Python client for Servarr API's (Sonarr, Radarr, Readarr, Lidarr)";
26 homepage = "https://github.com/totaldebug/pyarr";
27 license = licenses.mit;
28 maintainers = with maintainers; [ onny ];
29 };
30}