13 buildPythonPackage rec {
18 disabled = pythonOlder "3.9";
20 src = fetchFromGitHub {
23 rev = "refs/tags/v${version}";
24 hash = "sha256-yvlDnAjmwDNdU1SWHGVrmoD3WHwrNt7hXoNNPo1hm1w=";
28 # https://github.com/totaldebug/pyarr/pull/167
29 substituteInPlace pyproject.toml \
30 --replace "poetry.masonry.api" "poetry.core.masonry.api"
37 propagatedBuildInputs = [
48 pythonImportsCheck = [
53 # Tests require a running sonarr instance
64 description = "Python client for Servarr API's (Sonarr, Radarr, Readarr, Lidarr)";
65 homepage = "https://github.com/totaldebug/pyarr";
66 changelog = "https://github.com/totaldebug/pyarr/releases/tag/v${version}";
67 license = licenses.mit;
68 maintainers = with maintainers; [ onny ];