blob: 3bbeaa50ae56e9bcb9b48bdf6b77644cdc8996d3 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
protobuf,
pycryptodome,
requests,
}:
buildPythonPackage rec {
pname = "lakeside";
version = "0.13";
format = "setuptools";
src = fetchFromGitHub {
owner = "nkgilley";
repo = "python-lakeside";
tag = version;
hash = "sha256-Y5g78trkwOF3jsbgTv0uVkvfB1HZN+w1T6xIorxGAhg=";
};
propagatedBuildInputs = [
protobuf
pycryptodome
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "lakeside" ];
meta = {
description = "Library for controlling LED bulbs from Eufy";
homepage = "https://github.com/nkgilley/python-lakeside";
changelog = "https://github.com/nkgilley/python-lakeside/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
|