1{
2 aiohttp,
3 buildPythonPackage,
4 colorlog,
5 fetchFromGitHub,
6 lib,
7 python-dateutil,
8 setuptools,
9 websockets,
10}:
11
12buildPythonPackage rec {
13 pname = "livisi";
14 version = "1.0.1";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "planbnet";
19 repo = "livisi";
20 tag = "v${version}";
21 hash = "sha256-5TRJfI4irg2/ZxpfgzShXE08HWU2aWLR8zGbrZKpwbc=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 aiohttp
28 colorlog
29 python-dateutil
30 websockets
31 ];
32
33 pythonImportsCheck = [ "livisi" ];
34
35 # upstream has no tests
36 doCheck = false;
37
38 meta = {
39 changelog = "https://github.com/planbnet/livisi/releases/tag/${src.tag}";
40 description = "Connection library for the abandoned Livisi Smart Home system";
41 homepage = "https://github.com/planbnet/livisi";
42 license = lib.licenses.asl20;
43 maintainers = with lib.maintainers; [ dotlambda ];
44 };
45}