{ lib, aiohttp, aioresponses, bleak, buildPythonPackage, fetchFromGitHub, mashumaro, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools, syrupy, }: buildPythonPackage rec { pname = "pylamarzocco"; version = "2.0.1"; pyproject = true; disabled = pythonOlder "3.12"; src = fetchFromGitHub { owner = "zweckj"; repo = "pylamarzocco"; tag = "v${version}"; hash = "sha256-ZfixljgkRElDZFkSbZrFK7EO6NGU7jsal+Ra52/N82A="; }; build-system = [ setuptools ]; dependencies = [ aiohttp bleak mashumaro ]; nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook syrupy ]; pythonImportsCheck = [ "pylamarzocco" ]; meta = with lib; { description = "Library to interface with La Marzocco's cloud"; homepage = "https://github.com/zweckj/pylamarzocco"; changelog = "https://github.com/zweckj/pylamarzocco/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }