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