nixpkgs/pkgs/development/python-modules/gatt/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

36 lines
687 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
dbus-python,
pygobject3,
}:
buildPythonPackage rec {
pname = "gatt";
version = "0.2.6";
format = "setuptools";
src = fetchFromGitHub {
owner = "getsenic";
repo = "gatt-python";
rev = version;
hash = "sha256-GMLqQ9ojQ649hbbJB+KiQoOhiTWweOgv6zaCDzhIB5A=";
};
propagatedBuildInputs = [
dbus-python
pygobject3
];
pythonImportsCheck = [ "gatt" ];
meta = with lib; {
description = "Bluetooth (Generic Attribute Profile) GATT SDK for Python";
mainProgram = "gattctl";
homepage = "https://github.com/getsenic/gatt-python/";
license = licenses.mit;
maintainers = [ ];
};
}