1{
2 aiohttp,
3 aioresponses,
4 buildPythonPackage,
5 fetchFromGitHub,
6 lib,
7 mashumaro,
8 orjson,
9 poetry-core,
10 pytest-asyncio,
11 pytest-cov-stub,
12 pytestCheckHook,
13 yarl,
14}:
15
16buildPythonPackage rec {
17 pname = "python-melcloud";
18 version = "0.1.0";
19 pyproject = true;
20
21 src = fetchFromGitHub {
22 owner = "erwindouna";
23 repo = "python-melcloud";
24 tag = version;
25 hash = "sha256-1WFE8k16aDIp1S/WDHXVdUtQmISEoE8yQAn9nndmQWs=";
26 };
27
28 build-system = [ poetry-core ];
29
30 pythonRemoveDeps = [
31 "aioresponses"
32 "mashumaro"
33 "orjson"
34 "yarl"
35 ];
36
37 dependencies = [
38 aiohttp
39 ];
40
41 pythonImportsCheck = [ "pymelcloud" ];
42
43 nativeCheckInputs = [
44 pytest-asyncio
45 pytest-cov-stub
46 pytestCheckHook
47 ];
48
49 meta = {
50 changelog = "https://github.com/erwindouna/python-melcloud/blob/${src.tag}/CHANGELOG.md";
51 description = "Asynchronous Python client for controlling Melcloud devices";
52 homepage = "https://github.com/erwindouna/python-melcloud";
53 license = lib.licenses.mit;
54 maintainers = with lib.maintainers; [ dotlambda ];
55 };
56}