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