gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
{ lib, fetchurl, gettext, wrapGAppsHook
|
|
|
|
|
|
|
|
# Native dependencies
|
2019-02-13 21:47:50 +00:00
|
|
|
, python3, gtk3, gobject-introspection, gnome3
|
2020-08-19 05:49:04 +00:00
|
|
|
, glib-networking
|
gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
|
|
|
|
# Test dependencies
|
2018-03-25 21:32:44 +00:00
|
|
|
, xvfb_run, dbus
|
gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
|
|
|
|
# Optional dependencies
|
2020-08-19 05:49:04 +00:00
|
|
|
, enableJingle ? true, farstream, gstreamer, gst-plugins-base, gst-libav, gst-plugins-good, libnice
|
gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
, enableE2E ? true
|
2018-03-21 01:08:59 +00:00
|
|
|
, enableSecrets ? true, libsecret
|
|
|
|
, enableRST ? true, docutils
|
|
|
|
, enableSpelling ? true, gspell
|
|
|
|
, enableUPnP ? true, gupnp-igd
|
gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
, enableOmemoPluginDependencies ? true
|
|
|
|
, extraPythonPackages ? ps: []
|
2013-05-25 03:18:08 +00:00
|
|
|
}:
|
|
|
|
|
gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "gajim";
|
2020-08-19 05:49:04 +00:00
|
|
|
version = "1.2.2";
|
2013-05-25 03:18:08 +00:00
|
|
|
|
2009-04-12 19:34:20 +00:00
|
|
|
src = fetchurl {
|
2020-08-19 05:49:04 +00:00
|
|
|
url = "https://gajim.org/downloads/${lib.versions.majorMinor version}/gajim-${version}.tar.gz";
|
|
|
|
sha256 = "1gfcp3b5nq43xxz5my8vfhfxnnli726j3hzcgwh9fzrzzd9ic3gx";
|
2018-03-07 13:42:59 +00:00
|
|
|
};
|
|
|
|
|
2013-05-25 03:18:08 +00:00
|
|
|
buildInputs = [
|
2020-08-19 05:49:04 +00:00
|
|
|
gobject-introspection gtk3 gnome3.adwaita-icon-theme
|
|
|
|
glib-networking
|
|
|
|
] ++ lib.optionals enableJingle [ farstream gstreamer gst-plugins-base gst-libav gst-plugins-good libnice ]
|
gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
++ lib.optional enableSecrets libsecret
|
|
|
|
++ lib.optional enableSpelling gspell
|
|
|
|
++ lib.optional enableUPnP gupnp-igd;
|
2016-08-17 00:05:55 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-08-19 05:49:04 +00:00
|
|
|
gettext wrapGAppsHook
|
2016-08-17 00:05:55 +00:00
|
|
|
];
|
|
|
|
|
2020-08-19 05:49:04 +00:00
|
|
|
dontWrapGApps = true;
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
|
|
'';
|
|
|
|
|
gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2020-08-19 05:49:04 +00:00
|
|
|
nbxmpp pygobject3 dbus-python pillow css-parser precis-i18n keyring setuptools
|
gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
] ++ lib.optionals enableE2E [ pycrypto python-gnupg ]
|
|
|
|
++ lib.optional enableRST docutils
|
|
|
|
++ lib.optionals enableOmemoPluginDependencies [ python-axolotl qrcode ]
|
|
|
|
++ extraPythonPackages python3.pkgs;
|
2013-05-25 03:18:08 +00:00
|
|
|
|
2018-03-25 21:32:44 +00:00
|
|
|
checkInputs = [ xvfb_run dbus.daemon ];
|
|
|
|
|
2018-03-21 01:08:59 +00:00
|
|
|
checkPhase = ''
|
2018-03-25 21:32:44 +00:00
|
|
|
xvfb-run dbus-run-session \
|
|
|
|
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
${python3.interpreter} setup.py test
|
2017-01-27 19:56:02 +00:00
|
|
|
'';
|
|
|
|
|
2020-10-30 12:04:28 +00:00
|
|
|
# necessary for wrapGAppsHook
|
|
|
|
strictDeps = false;
|
|
|
|
|
2009-04-12 19:34:20 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://gajim.org/";
|
2013-05-25 03:18:08 +00:00
|
|
|
description = "Jabber client written in PyGTK";
|
gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2020-07-28 00:03:11 +00:00
|
|
|
maintainers = with lib.maintainers; [ raskin abbradar ];
|
2014-10-07 12:23:15 +00:00
|
|
|
downloadPage = "http://gajim.org/downloads.php";
|
|
|
|
updateWalker = true;
|
gajim: 1.0.3 -> 1.1.2
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
2019-01-28 15:09:52 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2009-04-12 19:34:20 +00:00
|
|
|
};
|
|
|
|
}
|