0215034f25
when they already rely on SRI hashes.
30 lines
602 B
Nix
30 lines
602 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, types-requests
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyarr";
|
|
version = "4.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "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 ];
|
|
};
|
|
}
|