2022-01-04 21:48:51 +00:00
|
|
|
{ lib, fetchurl, fetchFromGitLab, gettext, wrapGAppsHook
|
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
|
|
|
|
|
|
|
# Native dependencies
|
2021-05-07 21:18:14 +00:00
|
|
|
, python3, gtk3, gobject-introspection, gnome
|
2022-05-22 08:14:01 +00:00
|
|
|
, gtksourceview4
|
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
|
2021-05-08 13:45:03 +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
|
2021-08-06 15:03:24 +00:00
|
|
|
, enableAppIndicator ? true, libappindicator-gtk3
|
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
|
|
|
, 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";
|
2022-07-28 19:48:39 +00:00
|
|
|
version = "1.4.7";
|
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";
|
2022-07-28 19:48:39 +00:00
|
|
|
sha256 = "sha256-GkgHvzo0sxBIgk5P/3Yr0eFiL0ZOc6QmwJaE3Ck2hPM=";
|
2018-03-07 13:42:59 +00:00
|
|
|
};
|
|
|
|
|
2013-05-25 03:18:08 +00:00
|
|
|
buildInputs = [
|
2021-05-07 21:18:14 +00:00
|
|
|
gobject-introspection gtk3 gnome.adwaita-icon-theme
|
2022-05-22 08:14:01 +00:00
|
|
|
gtksourceview4
|
2020-08-19 05:49:04 +00:00
|
|
|
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
|
2021-08-06 15:03:24 +00:00
|
|
|
++ lib.optional enableUPnP gupnp-igd
|
|
|
|
++ lib.optional enableAppIndicator libappindicator-gtk3;
|
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; [
|
2022-05-26 18:13:30 +00:00
|
|
|
nbxmpp pygobject3 dbus-python pillow css-parser precis-i18n keyring setuptools packaging gssapi
|
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
|
|
|
|
2021-05-08 13:45:03 +00:00
|
|
|
checkInputs = [ xvfb-run dbus.daemon ];
|
2018-03-25 21:32:44 +00:00
|
|
|
|
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 \
|
2022-05-22 08:14:01 +00:00
|
|
|
${python3.interpreter} -m unittest discover -s test/gtk -v
|
2022-01-04 21:45:33 +00:00
|
|
|
${python3.interpreter} -m unittest discover -s test/no_gui -v
|
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 ];
|
2022-05-26 18:13:57 +00:00
|
|
|
downloadPage = "http://gajim.org/download/";
|
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
|
|
|
};
|
|
|
|
}
|