|
|
|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
|
|
# Native dependencies |
|
|
|
|
, python3, gtk3, gobject-introspection, gnome |
|
|
|
|
, gtksourceview4 |
|
|
|
|
, glib-networking |
|
|
|
|
|
|
|
|
|
# Test dependencies |
|
|
|
@ -21,15 +22,16 @@ |
|
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec { |
|
|
|
|
pname = "gajim"; |
|
|
|
|
version = "1.3.3"; |
|
|
|
|
version = "1.4.1"; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "https://gajim.org/downloads/${lib.versions.majorMinor version}/gajim-${version}.tar.gz"; |
|
|
|
|
sha256 = "1337qkpcv7j0fgws9scnk82mn2l7s17060vmrbh3ihinmxmbxg6x"; |
|
|
|
|
sha256 = "sha256:0mbx7s1d2xgk7bkhwqcdss6ynshkqdiwh3qgv7d45frb4c3k33l2"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
buildInputs = [ |
|
|
|
|
gobject-introspection gtk3 gnome.adwaita-icon-theme |
|
|
|
|
gtksourceview4 |
|
|
|
|
glib-networking |
|
|
|
|
] ++ lib.optionals enableJingle [ farstream gstreamer gst-plugins-base gst-libav gst-plugins-good libnice ] |
|
|
|
|
++ lib.optional enableSecrets libsecret |
|
|
|
@ -74,7 +76,7 @@ python3.pkgs.buildPythonApplication rec { |
|
|
|
|
checkPhase = '' |
|
|
|
|
xvfb-run dbus-run-session \ |
|
|
|
|
--config-file=${dbus.daemon}/share/dbus-1/session.conf \ |
|
|
|
|
${python3.interpreter} -m unittest discover -s test/unit -v |
|
|
|
|
${python3.interpreter} -m unittest discover -s test/gtk -v |
|
|
|
|
${python3.interpreter} -m unittest discover -s test/no_gui -v |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|