1{ lib
2, bluepy
3, buildPythonPackage
4, csrmesh
5, fetchPypi
6, pycryptodome
7, requests
8}:
9
10buildPythonPackage rec {
11 pname = "avion";
12 version = "0.10";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "0zgv45086b97ngyqxdp41wxb7hpn9g7alygc21j9y3dib700vzdz";
17 };
18
19 propagatedBuildInputs = [
20 bluepy
21 csrmesh
22 pycryptodome
23 requests
24 ];
25
26 # Project has no test
27 doCheck = false;
28 # bluepy/uuids.json is not found
29 # pythonImportsCheck = [ "avion" ];
30
31 meta = with lib; {
32 description = "Python API for controlling Avi-on Bluetooth dimmers";
33 homepage = "https://github.com/mjg59/python-avion";
34 license = with licenses; [ gpl3Plus ];
35 maintainers = with maintainers; [ fab ];
36 };
37}