2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, dbus-python
|
|
|
|
, pygobject3
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gatt";
|
|
|
|
version = "0.2.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "getsenic";
|
|
|
|
repo = "gatt-python";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = version;
|
2022-08-12 12:06:08 +00:00
|
|
|
hash = "sha256-GMLqQ9ojQ649hbbJB+KiQoOhiTWweOgv6zaCDzhIB5A=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dbus-python
|
|
|
|
pygobject3
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "gatt" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bluetooth (Generic Attribute Profile) GATT SDK for Python";
|
|
|
|
homepage = "https://github.com/getsenic/gatt-python/";
|
|
|
|
license = licenses.mit;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
}
|