1{ lib
2, buildPythonPackage
3, fetchPypi
4, cython
5, boost
6, bluez
7}:
8
9buildPythonPackage rec {
10 pname = "warble";
11 version = "1.2.9";
12 format = "setuptools";
13
14 enableParallelBuilding = true;
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-oezcRD1AddWmDYDxueE0EwK0+UN/EZ5GQxwkdCz4xoY=";
19 };
20
21 nativeBuildInputs = [
22 cython
23 ];
24
25 buildInputs = [
26 boost
27 bluez
28 ];
29
30 pythonImportsCheck = [ "mbientlab" "mbientlab.warble" ];
31
32 meta = with lib; {
33 description = "Python bindings for MbientLab's Warble library";
34 homepage = "https://github.com/mbientlab/pywarble";
35 license = with licenses; [ unfree ];
36 maintainers = with maintainers; [ stepbrobd ];
37 platforms = [ "aarch64-linux" "x86_64-linux" ];
38 };
39}