gajim: 0.16.7 -> 0.16.8
This commit is contained in:
parent
cc0ce6b7a6
commit
537944ea77
@ -25,13 +25,13 @@ with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gajim-${version}";
|
||||
version = "0.16.7";
|
||||
version = "0.16.8";
|
||||
|
||||
src = fetchurl {
|
||||
name = "${name}.tar.bz2";
|
||||
url = "https://dev.gajim.org/gajim/gajim/repository/archive.tar.bz2?"
|
||||
+ "ref=${name}";
|
||||
sha256 = "18srrsswq09i54gcqqy0ylmrix1rrq43f0b8sz1lijr39h3ayw3j";
|
||||
sha256 = "009cpzqh4zy7hc9pq3r5m4lgagwawhjab13rjzavb0n9ggijcscb";
|
||||
};
|
||||
|
||||
patches = let
|
||||
@ -42,11 +42,12 @@ stdenv.mkDerivation rec {
|
||||
# sha256 = "<replace-with-sha256>";
|
||||
#};
|
||||
};
|
||||
in mapAttrsToList (name: { rev, sha256 }: fetchurl {
|
||||
in (mapAttrsToList (name: { rev, sha256 }: fetchurl {
|
||||
name = "gajim-${name}.patch";
|
||||
url = "https://dev.gajim.org/gajim/gajim/commit/${rev}.diff";
|
||||
inherit sha256;
|
||||
}) cherries;
|
||||
}) cherries)
|
||||
++ [./fix-tests.patch]; # https://dev.gajim.org/gajim/gajim/issues/8660
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e '0,/^[^#]/ {
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/src/common/gajim.py b/src/common/gajim.py
|
||||
index 4a5d884b6..95d401b67 100644
|
||||
--- a/src/common/gajim.py
|
||||
+++ b/src/common/gajim.py
|
||||
@@ -415,7 +415,7 @@ def get_jid_from_account(account_name, full=False):
|
||||
jid = name + '@' + hostname
|
||||
if full:
|
||||
resource = connections[account_name].server_resource
|
||||
- jid += '/' + resource
|
||||
+ jid += '/' + str(resource)
|
||||
return jid
|
||||
|
||||
def get_our_jids():
|
Loading…
Reference in New Issue
Block a user