1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 protobuf,
6 pycryptodome,
7 pythonOlder,
8 requests,
9}:
10
11buildPythonPackage rec {
12 pname = "lakeside";
13 version = "0.13";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchFromGitHub {
19 owner = "nkgilley";
20 repo = "python-lakeside";
21 rev = "refs/tags/${version}";
22 hash = "sha256-Y5g78trkwOF3jsbgTv0uVkvfB1HZN+w1T6xIorxGAhg=";
23 };
24
25 propagatedBuildInputs = [
26 protobuf
27 pycryptodome
28 requests
29 ];
30
31 # Module has no tests
32 doCheck = false;
33
34 pythonImportsCheck = [ "lakeside" ];
35
36 meta = with lib; {
37 description = "Library for controlling LED bulbs from Eufy";
38 homepage = "https://github.com/nkgilley/python-lakeside";
39 changelog = "https://github.com/nkgilley/python-lakeside/releases/tag/${version}";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ fab ];
42 };
43}