about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/avion/default.nix
blob: a456c110ff42b44f2129780456c7009e48a7bf92 (plain) (blame)
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
{ lib
, bluepy
, buildPythonPackage
, csrmesh
, fetchPypi
, pycryptodome
, requests
}:

buildPythonPackage rec {
  pname = "avion";
  version = "0.10";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0zgv45086b97ngyqxdp41wxb7hpn9g7alygc21j9y3dib700vzdz";
  };

  propagatedBuildInputs = [
    bluepy
    csrmesh
    pycryptodome
    requests
  ];

  # Project has no test
  doCheck = false;
  # bluepy/uuids.json is not found
  # pythonImportsCheck = [ "avion" ];

  meta = with lib; {
    description = "Python API for controlling Avi-on Bluetooth dimmers";
    homepage = "https://github.com/mjg59/python-avion";
    license = with licenses; [ gpl3Plus ];
    maintainers = with maintainers; [ fab ];
  };
}