depot/third_party/nixpkgs/pkgs/development/python-modules/pyarr/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

30 lines
604 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, types-requests
, requests
}:
buildPythonPackage rec {
pname = "pyarr";
version = "4.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-3DX02V3Srpx6hqimWbesxfkDqslVH4+8uXY7XYDmjX0=";
};
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 ];
};
}