{ lib, aiohttp, aioresponses, bleak, buildPythonPackage, cryptography, fetchFromGitHub, mashumaro, pytest-asyncio, pytestCheckHook, setuptools, syrupy, }: buildPythonPackage rec { pname = "pylamarzocco"; version = "2.1.2"; pyproject = true; src = fetchFromGitHub { owner = "zweckj"; repo = "pylamarzocco"; tag = "v${version}"; hash = "sha256-gDIp7QcjXqJUlsr0xEIJEDQnmuOkD/BxATfv0fiGGpI="; }; build-system = [ setuptools ]; dependencies = [ aiohttp bleak cryptography 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 ]; }; }