about summary refs log tree commit diff
path: root/pkgs/development/python-modules/warble/default.nix
blob: c2c930d0f0a5952a0fcb2d75d08956940f1ace4d (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
38
39
{ 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 = with lib; {
    description = "Python bindings for MbientLab's Warble library";
    homepage = "https://github.com/mbientlab/pywarble";
    license = with licenses; [ unfree ];
    maintainers = with maintainers; [ stepbrobd ];
    platforms = [ "aarch64-linux" "x86_64-linux" ];
  };
}