at 24.05-pre 644 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, dbus-python 5, pygobject3 6}: 7 8buildPythonPackage rec { 9 pname = "gatt"; 10 version = "0.2.6"; 11 12 src = fetchFromGitHub { 13 owner = "getsenic"; 14 repo = "gatt-python"; 15 rev = version; 16 hash = "sha256-GMLqQ9ojQ649hbbJB+KiQoOhiTWweOgv6zaCDzhIB5A="; 17 }; 18 19 propagatedBuildInputs = [ 20 dbus-python 21 pygobject3 22 ]; 23 24 pythonImportsCheck = [ "gatt" ]; 25 26 meta = with lib; { 27 description = "Bluetooth (Generic Attribute Profile) GATT SDK for Python"; 28 homepage = "https://github.com/getsenic/gatt-python/"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ ]; 31 }; 32}