pythonPackages.dbus: missing test dependency
This commit is contained in:
parent
c2fb3490c9
commit
3de68a3979
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, python, pkgconfig, dbus, dbus_glib, dbus_tools, isPyPy
|
{ 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 {
|
if isPyPy then throw "dbus-python not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
|
||||||
name = "dbus-python-1.2.4";
|
name = "dbus-python-1.2.4";
|
||||||
@ -12,7 +12,7 @@ if isPyPy then throw "dbus-python not supported for interpreter ${python.executa
|
|||||||
postPatch = "patchShebangs .";
|
postPatch = "patchShebangs .";
|
||||||
|
|
||||||
buildInputs = [ python pkgconfig dbus dbus_glib ]
|
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.
|
# My guess why it's sometimes trying to -lncurses.
|
||||||
# It seems not to retain the dependency anyway.
|
# It seems not to retain the dependency anyway.
|
||||||
++ stdenv.lib.optional (! python ? modules) ncurses;
|
++ stdenv.lib.optional (! python ? modules) ncurses;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user