mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 11:33:31 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
36 lines
687 B
Nix
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 = [ ];
|
|
};
|
|
}
|