1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 awesomeversion, 6 buildPythonPackage, 7 fetchFromGitHub, 8 mashumaro, 9 orjson, 10 poetry-core, 11 pytest-asyncio, 12 pytest-cov-stub, 13 pytestCheckHook, 14 pythonOlder, 15 syrupy, 16 yarl, 17}: 18 19buildPythonPackage rec { 20 pname = "aiomealie"; 21 version = "0.10.2"; 22 pyproject = true; 23 24 disabled = pythonOlder "3.11"; 25 26 src = fetchFromGitHub { 27 owner = "joostlek"; 28 repo = "python-mealie"; 29 tag = "v${version}"; 30 hash = "sha256-VOUtSHxixGpfeP4G0puB1RPgaqvell1SBO7akEnLzrg="; 31 }; 32 33 build-system = [ poetry-core ]; 34 35 dependencies = [ 36 aiohttp 37 awesomeversion 38 mashumaro 39 orjson 40 yarl 41 ]; 42 43 nativeCheckInputs = [ 44 aioresponses 45 pytest-asyncio 46 pytest-cov-stub 47 pytestCheckHook 48 syrupy 49 ]; 50 51 pythonImportsCheck = [ "aiomealie" ]; 52 53 meta = with lib; { 54 description = "Module to interact with Mealie"; 55 homepage = "https://github.com/joostlek/python-mealie"; 56 changelog = "https://github.com/joostlek/python-mealie/releases/tag/${src.tag}"; 57 license = licenses.mit; 58 maintainers = with maintainers; [ fab ]; 59 }; 60}