17 buildPythonPackage rec {
22 disabled = pythonOlder "3.8";
24 src = fetchFromGitHub {
25 owner = "Bluetooth-Devices";
27 rev = "refs/tags/v${version}";
28 hash = "sha256-8M2SRyAkuxNbwT5NRN6cwJ82OtprfBZXi9Yqwh1NLVY=";
31 # The project can build both an optimized cython version and an unoptimized
32 # python version. This ensures we fail if we build the wrong one.
33 env.REQUIRE_CYTHON = 1;
41 dependencies = [ async-timeout ];
50 pythonImportsCheck = [
60 # test_peer_interface times out
62 --config-file=${dbus}/share/dbus-1/session.conf \
63 ${python.interpreter} -m pytest -k "not test_peer_interface"
69 description = "Faster version of dbus-next";
70 homepage = "https://github.com/bluetooth-devices/dbus-fast";
71 changelog = "https://github.com/Bluetooth-Devices/dbus-fast/blob/${src.rev}/CHANGELOG.md";
72 license = licenses.mit;
73 maintainers = with maintainers; [ fab ];