1{
2 lib,
3 bluepy,
4 buildPythonPackage,
5 fetchPypi,
6}:
7
8buildPythonPackage rec {
9 pname = "bluepy-devices";
10 version = "0.2.1";
11 format = "setuptools";
12
13 src = fetchPypi {
14 pname = "bluepy_devices";
15 inherit version;
16 sha256 = "02zzzivxq2vifgs65m2rm8pqlsbzsbc419c032irzvfxjx539mr8";
17 };
18
19 propagatedBuildInputs = [ bluepy ];
20
21 # Project has no test
22 doCheck = false;
23 pythonImportsCheck = [ "bluepy_devices" ];
24
25 meta = with lib; {
26 description = "Python BTLE Device Interface for bluepy";
27 homepage = "https://github.com/bimbar/bluepy_devices";
28 license = with licenses; [ mit ];
29 maintainers = with maintainers; [ fab ];
30 };
31}