about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dbus
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-08-26 16:58:59 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-08-26 16:59:27 +0200
commit3de68a39791df7d518ee59fcc2b9e6576571d2a4 (patch)
tree5eb423369a46d7f617421a0f872bd7ff8a6a816a /pkgs/development/python-modules/dbus
parentc2fb3490c9266ddf51c22e7bccab95f900513f73 (diff)
pythonPackages.dbus: missing test dependency
Diffstat (limited to 'pkgs/development/python-modules/dbus')
-rw-r--r--pkgs/development/python-modules/dbus/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/dbus/default.nix b/pkgs/development/python-modules/dbus/default.nix
index af2e6af0c8260..e99a10ab1c406 100644
--- a/pkgs/development/python-modules/dbus/default.nix
+++ b/pkgs/development/python-modules/dbus/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, python, pkgconfig, dbus, dbus_glib, dbus_tools, isPyPy
-, ncurses }:
+, ncurses, pygobject3 }:
 
 if isPyPy then throw "dbus-python not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
   name = "dbus-python-1.2.4";
@@ -12,7 +12,7 @@ if isPyPy then throw "dbus-python not supported for interpreter ${python.executa
   postPatch = "patchShebangs .";
 
   buildInputs = [ python pkgconfig dbus dbus_glib ]
-    ++ stdenv.lib.optional doCheck dbus_tools
+    ++ stdenv.lib.optionals doCheck [ dbus_tools pygobject3 ]
     # My guess why it's sometimes trying to -lncurses.
     # It seems not to retain the dependency anyway.
     ++ stdenv.lib.optional (! python ? modules) ncurses;