14 buildPythonPackage rec {
19 src = fetchFromGitHub {
21 repo = "python-dbus-next";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-EKEQZFRUe+E65Z6DNCJFL5uCI5kbXrN7Tzd4O0X5Cqo=";
26 build-system = [ setuptools ];
36 # test_peer_interface hits a timeout
37 # test_tcp_connection_with_forwarding fails due to dbus
38 # creating unix socket anyway on v1.14.4
41 dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf \
42 ${python.interpreter} -m pytest -sv --cov=dbus_next \
43 -k "not test_peer_interface and not test_tcp_connection_with_forwarding"
48 description = "Zero-dependency DBus library for Python with asyncio support";
49 homepage = "https://github.com/altdesktop/python-dbus-next";
50 changelog = "https://github.com/altdesktop/python-dbus-next/releases/tag/v${version}";
51 license = licenses.mit;
52 maintainers = with maintainers; [ sfrijters ];