2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
bluepy,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bluepy-devices";
|
|
|
|
version = "0.2.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "bluepy_devices";
|
2024-06-05 15:53:02 +00:00
|
|
|
inherit version;
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "02zzzivxq2vifgs65m2rm8pqlsbzsbc419c032irzvfxjx539mr8";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bluepy ];
|
|
|
|
|
|
|
|
# Project has no test
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "bluepy_devices" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python BTLE Device Interface for bluepy";
|
|
|
|
homepage = "https://github.com/bimbar/bluepy_devices";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|