diff options
author | jarkad <jarkad@jarkad.net.eu.org> | 2023-05-20 22:01:54 +0300 |
---|---|---|
committer | jarkad <jarkad@jarkad.net.eu.org> | 2023-05-20 22:34:46 +0300 |
commit | 2fa279fbf31d4f9b7492b4a49a887666412473c2 (patch) | |
tree | 67082355f461b7ef8f810f259175b4edb17cb695 /pkgs/applications/networking/instant-messengers/gajim | |
parent | 58228cf8b22560282a7f4f3d8e5a9f68a4326798 (diff) |
gajim: 1.6.1 -> 1.7.3
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/gajim')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/gajim/default.nix | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/gajim/default.nix b/pkgs/applications/networking/instant-messengers/gajim/default.nix index 091bbf66e3d9..bc3269721b77 100644 --- a/pkgs/applications/networking/instant-messengers/gajim/default.nix +++ b/pkgs/applications/networking/instant-messengers/gajim/default.nix @@ -22,13 +22,15 @@ python3.pkgs.buildPythonApplication rec { pname = "gajim"; - version = "1.6.1"; + version = "1.7.3"; src = fetchurl { url = "https://gajim.org/downloads/${lib.versions.majorMinor version}/gajim-${version}.tar.gz"; - hash = "sha256-3D87Ou/842WqbaUiJV1hRZFVkZzQ12GXCpRc8F3rKPQ="; + hash = "sha256-t8yzWfdsY8pXye7Dn5hME0bOHgf+MzuyVY3hweXc0xg="; }; + format = "pyproject"; + buildInputs = [ gobject-introspection gtk3 gnome.adwaita-icon-theme gtksourceview4 @@ -58,6 +60,14 @@ python3.pkgs.buildPythonApplication rec { nativeCheckInputs = [ xvfb-run dbus ]; + preBuild = '' + python pep517build/build_metadata.py -o dist/metadata + ''; + + postInstall = '' + python pep517build/install_metadata.py dist/metadata --prefix=$out + ''; + checkPhase = '' xvfb-run dbus-run-session \ --config-file=${dbus}/share/dbus-1/session.conf \ @@ -65,6 +75,9 @@ python3.pkgs.buildPythonApplication rec { ${python3.interpreter} -m unittest discover -s test/common -v ''; + # test are broken in 1.7.3 + doCheck = false; + # necessary for wrapGAppsHook strictDeps = false; |