1{
2 lib,
3 aiohttp,
4 aioresponses,
5 bleak,
6 buildPythonPackage,
7 cryptography,
8 fetchFromGitHub,
9 mashumaro,
10 pytest-asyncio,
11 pytestCheckHook,
12 setuptools,
13 syrupy,
14}:
15
16buildPythonPackage rec {
17 pname = "pylamarzocco";
18 version = "2.1.2";
19 pyproject = true;
20
21 src = fetchFromGitHub {
22 owner = "zweckj";
23 repo = "pylamarzocco";
24 tag = "v${version}";
25 hash = "sha256-gDIp7QcjXqJUlsr0xEIJEDQnmuOkD/BxATfv0fiGGpI=";
26 };
27
28 build-system = [ setuptools ];
29
30 dependencies = [
31 aiohttp
32 bleak
33 cryptography
34 mashumaro
35 ];
36
37 nativeCheckInputs = [
38 aioresponses
39 pytest-asyncio
40 pytestCheckHook
41 syrupy
42 ];
43
44 pythonImportsCheck = [ "pylamarzocco" ];
45
46 meta = with lib; {
47 description = "Library to interface with La Marzocco's cloud";
48 homepage = "https://github.com/zweckj/pylamarzocco";
49 changelog = "https://github.com/zweckj/pylamarzocco/releases/tag/${src.tag}";
50 license = licenses.mit;
51 maintainers = with maintainers; [ fab ];
52 };
53}