8 buildPythonPackage rec {
11 format = "setuptools";
14 inherit pname version;
15 sha256 = "1v0wjy1rz0rbwghr1z3xhdm06lqn9iig6vr5j2wmymh3w6pysw9a";
18 buildInputs = [ glib ];
19 nativeBuildInputs = [ pkg-config ];
21 # tests try to access hardware
23 $out/bin/blescan --help > /dev/null
24 $out/bin/sensortag --help > /dev/null
25 $out/bin/thingy52 --help > /dev/null
27 pythonImportsCheck = [ "bluepy" ];
30 description = "Python interface to Bluetooth LE on Linux";
31 homepage = "https://github.com/IanHarvey/bluepy";
32 maintainers = with maintainers; [ georgewhewell ];
33 platforms = platforms.linux;
34 license = licenses.gpl2;