blob: e6aed0538dc662aa6ddda4faf2bba89cb6ecfcc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiofiles,
aiohttp,
colorlog,
commonregex,
defusedxml,
deprecated,
ifaddr,
pycryptodome,
platformdirs,
}:
buildPythonPackage rec {
pname = "midea-local";
version = "6.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "midea-lan";
repo = "midea-local";
tag = "v${version}";
hash = "sha256-l5wV6W0CR3Jlir1DEpuh7/I8hGnH5+yrq0JjKcFh4sk=";
};
build-system = [ setuptools ];
dependencies = [
aiofiles
aiohttp
colorlog
commonregex
defusedxml
deprecated
ifaddr
pycryptodome
platformdirs
];
meta = {
description = "Control your Midea M-Smart appliances via local area network";
homepage = "https://github.com/midea-lan/midea-local";
changelog = "https://github.com/midea-lan/midea-local/releases/tag/${src.tag}";
maintainers = with lib.maintainers; [ k900 ];
license = lib.licenses.mit;
};
}
|