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