{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, mashumaro, orjson, poetry-core, pytest-asyncio, pytestCheckHook, pythonOlder, syrupy, yarl, }: buildPythonPackage rec { pname = "aiomealie"; version = "0.4.0"; pyproject = true; disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "joostlek"; repo = "python-mealie"; rev = "refs/tags/v${version}"; hash = "sha256-I1CA/YD2pNvBijSQgF/R8v5DfR/xyh0t/HGGiVE5UbY="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "--cov" "" ''; build-system = [ poetry-core ]; dependencies = [ aiohttp mashumaro orjson yarl ]; nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook syrupy ]; pythonImportsCheck = [ "aiomealie" ]; meta = with lib; { description = "Module to interact with Mealie"; homepage = "https://github.com/joostlek/python-mealie"; changelog = "https://github.com/joostlek/python-mealie/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }