diff options
author | Vladimír Čunát <v@cunat.cz> | 2021-03-28 17:31:15 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2021-03-28 17:31:15 +0200 |
commit | a411f18ba8ee9877d4e0f2c870b0c203c88bdcea (patch) | |
tree | 7aa64ebde48dde0890c2f06470d17cd2c369a71a /pkgs/applications | |
parent | 6ac771d917baa4c8cc21c4fcd9814e36a3d7c616 (diff) | |
parent | f3c739f4792eff0fca12c637c3017f431272665e (diff) |
Merge #117408: pidgin: add dbus-python
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/pidgin/default.nix | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin/default.nix b/pkgs/applications/networking/instant-messengers/pidgin/default.nix index 65b9c245a383e..edbc28f793b04 100644 --- a/pkgs/applications/networking/instant-messengers/pidgin/default.nix +++ b/pkgs/applications/networking/instant-messengers/pidgin/default.nix @@ -29,11 +29,13 @@ let unwrapped = stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0"; - buildInputs = [ + buildInputs = let + python-with-dbus = python.withPackages (pp: with pp; [ dbus-python ]); + in [ aspell startupnotification gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good libxml2 nss nspr - libXScrnSaver ncurses python + libXScrnSaver ncurses python-with-dbus avahi dbus dbus-glib intltool libidn libICE libXext libSM cyrus_sasl ] @@ -72,6 +74,15 @@ let unwrapped = stdenv.mkDerivation rec { --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" ''; + doInstallCheck = stdenv.hostPlatform == stdenv.buildPlatform; + # In particular, this detects missing python imports in some of the tools. + postInstallCheck = '' + for f in "''${!outputBin}"/bin/{purple-remote,pidgin}; do + echo "Testing: $f --help" + "$f" --help + done + ''; + meta = with lib; { description = "Multi-protocol instant messaging client"; homepage = "http://pidgin.im"; |