blob: 5b6c514794a94256b129622fef6599c1acb6c5ac (
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
|
{
aiohttp,
buildPythonPackage,
colorlog,
fetchFromGitHub,
lib,
python-dateutil,
setuptools,
websockets,
}:
buildPythonPackage rec {
pname = "livisi";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "planbnet";
repo = "livisi";
tag = "v${version}";
hash = "sha256-5TRJfI4irg2/ZxpfgzShXE08HWU2aWLR8zGbrZKpwbc=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
colorlog
python-dateutil
websockets
];
pythonImportsCheck = [ "livisi" ];
# upstream has no tests
doCheck = false;
meta = {
changelog = "https://github.com/planbnet/livisi/releases/tag/${src.tag}";
description = "Connection library for the abandoned Livisi Smart Home system";
homepage = "https://github.com/planbnet/livisi";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|