blob: 79ecb0184fdaa9ab739c333e7cf06384bdd86b6f (
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
51
52
53
|
{
lib,
aioconsole,
aiohttp,
aioresponses,
async-timeout,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytest-mock,
pytestCheckHook,
setuptools,
websockets,
}:
buildPythonPackage rec {
pname = "whirlpool-sixth-sense";
version = "1.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "abmantis";
repo = "whirlpool-sixth-sense";
tag = version;
hash = "sha256-SXa5Ccnng1McWgSWy85xCEr7odtBSJtJhjZoC/JfI/A=";
};
build-system = [ setuptools ];
dependencies = [
aioconsole
aiohttp
async-timeout
websockets
];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "whirlpool" ];
meta = {
description = "Python library for Whirlpool 6th Sense appliances";
homepage = "https://github.com/abmantis/whirlpool-sixth-sense/";
changelog = "https://github.com/abmantis/whirlpool-sixth-sense/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|