@@ -2,7 +2,7 @@
22, ldns, pythonPackages
33
44# Test requirements
5−, xvfb_run, dnsutils
5+, xvfb_run
66
77, enableJingle ? true, farstream ? null, gst_plugins_bad ? null
88, libnice ? null
@@ -63,9 +63,8 @@ stdenv.mkDerivation rec {
6363 }$GST_PLUGIN_PATH"'"
6464 }' scripts/gajim.in
6565
66− sed -i -e 's/return helpers.is_in_path('"'"'drill.*/return True/' \
67− src/features_window.py
68− sed -i -e "s|'drill'|'${ldns}/bin/drill'|" src/common/resolver.py
66+ # requires network access
67+ echo "" > test/integration/test_resolver.py
6968
7069 # We want to run tests in installCheckPhase rather than checkPhase to test
7170 # whether the *installed* version of Gajim works rather than just whether it
@@ -83,19 +82,20 @@ stdenv.mkDerivation rec {
8382 nativeBuildInputs = [
8483 autoreconfHook pythonPackages.wrapPython intltool pkgconfig
8584 # Test dependencies
86− xvfb_run dnsutils
85+ xvfb_run
8786 ];
8887
8988 autoreconfPhase = ''
9089 sed -e 's/which/type -P/;s,\./configure,:,' autogen.sh | bash
9190 '';
9291
93− propagatedBuildInputs = [
94− pythonPackages.pygobject2 pythonPackages.pyGtkGlade
95− pythonPackages.pyasn1
96− pythonPackages.pyxdg
97− pythonPackages.nbxmpp
98− pythonPackages.pyopenssl pythonPackages.dbus-python
92+ propagatedBuildInputs = with pythonPackages; [
93+ libasyncns
94+ pygobject2 pyGtkGlade
95+ pyasn1
96+ pyxdg
97+ nbxmpp
98+ pyopenssl dbus-python
9999 ] ++ optional enableE2E pythonPackages.pycrypto
100100 ++ optional enableRST pythonPackages.docutils
101101 ++ optional enableNotifications pythonPackages.notify