blob: fdc1aeadd4fe9a13265abb2991f0092a6a3e90bc (
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,
fetchPypi,
setuptools,
bluepy,
pycryptodome,
}:
buildPythonPackage rec {
pname = "tikteck";
version = "0.4";
pyproject = true;
# github doesn't have any tags unfortunately
src = fetchPypi {
pname = "tikteck";
inherit version;
hash = "sha256-KEbGT2RXLFMQ49gltOYcbE+ebJ1kiXzhT0DIeVXsSJM=";
};
build-system = [ setuptools ];
dependencies = [
bluepy
pycryptodome
];
pythonImportsCheck = [ "tikteck" ];
# no upstream tests exist
doCheck = false;
meta = {
description = "Control Tikteck Bluetooth LED bulbs";
homepage = "https://github.com/mjg59/python-tikteck";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
}
|