1{
2 lib,
3 async-timeout,
4 bitstring,
5 buildPythonPackage,
6 click,
7 fetchPypi,
8 ifaddr,
9 inquirerpy,
10 pythonOlder,
11 setuptools,
12}:
13
14buildPythonPackage rec {
15 pname = "aiolifx";
16 version = "1.2.1";
17 pyproject = true;
18
19 disabled = pythonOlder "3.7";
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-h82KPrHcWUUrQFyMy3fY6BmQFA5a4DFJdhJ6zRnKMsc=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 async-timeout
30 bitstring
31 click
32 ifaddr
33 inquirerpy
34 ];
35
36 # Module has no tests
37 doCheck = false;
38
39 pythonImportsCheck = [ "aiolifx" ];
40
41 meta = with lib; {
42 description = "Module for local communication with LIFX devices over a LAN";
43 homepage = "https://github.com/aiolifx/aiolifx";
44 changelog = "https://github.com/aiolifx/aiolifx/releases/tag/${version}";
45 license = licenses.mit;
46 maintainers = with maintainers; [ netixx ];
47 mainProgram = "aiolifx";
48 };
49}