summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/bluepy-devices/default.nix
blob: 88dd89ab7099dbda08429c822422c69f0182fb72 (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
32
33
34
35
36
{
  lib,
  bluepy,
  buildPythonPackage,
  fetchPypi,
  setuptools,
}:

buildPythonPackage (finalAttrs: {
  pname = "bluepy-devices";
  version = "0.2.1";
  pyproject = true;

  __structuredAttrs = true;

  src = fetchPypi {
    pname = "bluepy_devices";
    inherit (finalAttrs) version;
    hash = "sha256-KNc0Spfd7Z+jGIClQNjSf2mKL6pZ1GL0c3EL3Hf8/ws=";
  };

  build-system = [ setuptools ];

  dependencies = [ 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 = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
})