1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchPypi,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "lightwave2";
11 version = "0.8.23";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.8";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-umhFqeX16c6o006MU9/9h4EnqcX7v8C5q3XjxYgi+xk=";
19 };
20
21 propagatedBuildInputs = [ aiohttp ];
22
23 # Module has no tests
24 doCheck = false;
25
26 pythonImportsCheck = [ "lightwave2" ];
27
28 meta = with lib; {
29 description = "Library to interact with LightWaveRF 2nd Gen lights and switches";
30 homepage = "https://github.com/bigbadblunt/lightwave2";
31 license = licenses.mit;
32 maintainers = with maintainers; [ fab ];
33 };
34}