blob: f587245b2cc7d39396ecad7dd56aac80153ae5b6 (
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
46
47
|
{
lib,
bleak,
buildPythonPackage,
click,
fetchFromGitHub,
pytest-asyncio,
pytest-mock,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pykulersky";
version = "0.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "emlove";
repo = "pykulersky";
rev = version;
hash = "sha256-YHGEDAsbQN3sYu7mdVUbb3xX7FMnR0xAhXkvf7Ok7qs=";
};
build-system = [ setuptools ];
dependencies = [
bleak
click
];
nativeCheckInputs = [
pytest-asyncio
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "pykulersky" ];
meta = {
description = "Python module to control Brightech Kuler Sky Bluetooth LED devices";
mainProgram = "pykulersky";
homepage = "https://github.com/emlove/pykulersky";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|