{ lib , aiohttp , aioresponses , buildPythonPackage , click , fetchFromGitHub , pydantic , poetry-core , pytestCheckHook , pythonOlder , yarl }: buildPythonPackage rec { pname = "aiortm"; version = "0.6.0"; format = "pyproject"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "MartinHjelmare"; repo = pname; rev = "v${version}"; hash = "sha256-OOmcJB1o0cmAFj1n2obr0lxZxT5fYs2awftHQ6VMLUs="; }; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiohttp click pydantic yarl ]; checkInputs = [ aioresponses pytestCheckHook ]; postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=aiortm --cov-report=term-missing:skip-covered" "" ''; pythonImportsCheck = [ "aiortm" ]; meta = with lib; { description = "Library for the Remember the Milk API"; homepage = "https://github.com/MartinHjelmare/aiortm"; changelog = "https://github.com/MartinHjelmare/aiortm/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; }; }