blob: ee2b437d502bb77e8c47bf02e456e6b93d0b62fe (
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
|
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
pyjwt,
pytestCheckHook,
yarl,
}:
buildPythonPackage rec {
pname = "homepluscontrol";
version = "0.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "chemaaa";
repo = "homepluscontrol";
rev = version;
hash = "sha256-COOGqfYiR4tueQHXuCvVxShrYS0XNltcW4mclbFWcfA=";
};
propagatedBuildInputs = [
aiohttp
pyjwt
yarl
];
nativeCheckInputs = [
aioresponses
pytestCheckHook
];
pythonImportsCheck = [ "homepluscontrol" ];
meta = {
description = "Python API to interact with the Legrand Eliot Home and Control";
homepage = "https://github.com/chemaaa/homepluscontrol";
license = with lib.licenses; [ gpl3Only ];
maintainers = with lib.maintainers; [ fab ];
};
}
|