9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
39 lines
754 B
Nix
39 lines
754 B
Nix
{ 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" ];
|
|
};
|
|
}
|