summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/warble/default.nix
blob: c9d278e872e488475d6fd1b370f77903c7ef481e (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
37
38
39
40
41
42
43
44
{
  lib,
  buildPythonPackage,
  fetchPypi,
  cython,
  boost,
  bluez,
}:

buildPythonPackage rec {
  pname = "warble";
  version = "1.2.9";
  format = "setuptools";

  enableParallelBuilding = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-oezcRD1AddWmDYDxueE0EwK0+UN/EZ5GQxwkdCz4xoY=";
  };

  nativeBuildInputs = [ cython ];

  buildInputs = [
    boost
    bluez
  ];

  pythonImportsCheck = [
    "mbientlab"
    "mbientlab.warble"
  ];

  meta = {
    description = "Python bindings for MbientLab's Warble library";
    homepage = "https://github.com/mbientlab/pywarble";
    license = with lib.licenses; [ unfree ];
    maintainers = with lib.maintainers; [ stepbrobd ];
    platforms = [
      "aarch64-linux"
      "x86_64-linux"
    ];
  };
}