depot/third_party/nixpkgs/pkgs/development/python-modules/warble/default.nix

40 lines
754 B
Nix
Raw Normal View History

{ 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" ];
};
}