blob: c748e609b117b1e878bcb6c53bc0b2e34e2f5210 (
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
|
{
lib,
aiohttp,
bleak,
buildPythonPackage,
csrmesh,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "halohome";
version = "0.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "nayaverdier";
repo = "halohome";
tag = version;
hash = "sha256-JOQ2q5lbdVTerXPt6QHBiTG9PzN9LiuLcN+XnOoyYjA=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
bleak
csrmesh
];
pythonRelaxDeps = [ "bleak" ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "halohome" ];
meta = {
description = "Python library to control Eaton HALO Home Smart Lights";
homepage = "https://github.com/nayaverdier/halohome";
changelog = "https://github.com/nayaverdier/halohome/blob/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|