summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/bluepy-devices/default.nix
blob: ea87fd9d0ca215618b3f543c5fcc5fb8d0fb1bbf (plain)
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
{
  lib,
  bluepy,
  buildPythonPackage,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "bluepy-devices";
  version = "0.2.1";
  format = "setuptools";

  src = fetchPypi {
    pname = "bluepy_devices";
    inherit version;
    sha256 = "02zzzivxq2vifgs65m2rm8pqlsbzsbc419c032irzvfxjx539mr8";
  };

  propagatedBuildInputs = [ bluepy ];

  # Project has no test
  doCheck = false;
  pythonImportsCheck = [ "bluepy_devices" ];

  meta = {
    description = "Python BTLE Device Interface for bluepy";
    homepage = "https://github.com/bimbar/bluepy_devices";
    license = with lib.licenses; [ mit ];
    maintainers = with lib.maintainers; [ fab ];
  };
}