@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, python, pkgconfig, dbus, dbus_glib, dbus_tools, isPyPy
2−, ncurses }:
2+, ncurses, pygobject3 }:
33
44if isPyPy then throw "dbus-python not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
55 name = "dbus-python-1.2.4";
@@ -12,7 +12,7 @@ if isPyPy then throw "dbus-python not supported for interpreter ${python.executa
1212 postPatch = "patchShebangs .";
1313
1414 buildInputs = [ python pkgconfig dbus dbus_glib ]
15− ++ stdenv.lib.optional doCheck dbus_tools
15+ ++ stdenv.lib.optionals doCheck [ dbus_tools pygobject3 ]
1616 # My guess why it's sometimes trying to -lncurses.
1717 # It seems not to retain the dependency anyway.
1818 ++ stdenv.lib.optional (! python ? modules) ncurses;