fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
44 lines
782 B
Nix
44 lines
782 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"
|
|
];
|
|
};
|
|
}
|