about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyarr/default.nix
blob: 2da0b65e5bedb4f31c6231fb91ecaf7f836dcbf7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, fetchPypi
, buildPythonPackage
, types-requests
, requests
}:

buildPythonPackage rec {
  pname = "pyarr";
  version = "5.2.0";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-jlcc9Kj1MYSsnvJkKZXXWWJVDx3KIuojjbGtl8kDUpw=";
  };

  propagatedBuildInputs = [
    requests
    types-requests
  ];

  pythonImportsCheck = [ "pyarr" ];

  meta = with lib; {
    description = "Python client for Servarr API's (Sonarr, Radarr, Readarr, Lidarr)";
    homepage = "https://github.com/totaldebug/pyarr";
    license = licenses.mit;
    maintainers = with maintainers; [ onny ];
  };
}