Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 54 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, aiohttp, aresponses, buildPythonPackage, ciso8601, fetchFromGitHub, orjson, pytest-asyncio, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "aiopyarr"; version = "23.4.0"; format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "tkdrob"; repo = "aiopyarr"; tag = version; hash = "sha256-CzNB6ymvDTktiOGdcdCvWLVQ3mKmbdMpc/vezSXCpG4="; };
postPatch = '' substituteInPlace setup.py \ --replace 'version="master"' 'version="${version}"' '';
propagatedBuildInputs = [ aiohttp ciso8601 orjson ];
nativeCheckInputs = [ aresponses pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "aiopyarr" ];
meta = with lib; { description = "Python API client for Lidarr/Radarr/Readarr/Sonarr"; homepage = "https://github.com/tkdrob/aiopyarr"; changelog = "https://github.com/tkdrob/aiopyarr/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}