mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
45 lines
782 B
Nix
45 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"
|
|
];
|
|
};
|
|
}
|