6 , dbus, pytest, pytest-cov, pytest-asyncio, pytest-timeout
9 buildPythonPackage rec {
13 src = fetchFromGitHub {
15 repo = "python-dbus-next";
17 sha256 = "sha256-EKEQZFRUe+E65Z6DNCJFL5uCI5kbXrN7Tzd4O0X5Cqo=";
28 # test_peer_interface hits a timeout
29 # test_tcp_connection_with_forwarding fails due to dbus
30 # creating unix socket anyway on v1.14.4
32 dbus-run-session --config-file=${dbus.daemon}/share/dbus-1/session.conf \
33 ${python.interpreter} -m pytest -sv --cov=dbus_next \
34 -k "not test_peer_interface and not test_tcp_connection_with_forwarding"
38 broken = stdenv.isDarwin;
39 homepage = "https://github.com/altdesktop/python-dbus-next";
40 description = "A zero-dependency DBus library for Python with asyncio support";
41 license = licenses.mit;
42 maintainers = with maintainers; [ sfrijters ];