about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/profanity
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2020-09-23 20:36:53 +0100
committerdevhell <devhell@mailfresser.de>2020-09-23 20:36:53 +0100
commit373d1dd03d25c0a55525577a831b6a1b4a1511cd (patch)
tree884b6369a81948986768048d8e795c64538e06c3 /pkgs/applications/networking/instant-messengers/profanity
parent7955668c3a20ffac6fdc924c019fc6b69cb15e32 (diff)
profanity: Introduce OMEMO fix
It looks like the entire 0.9-series has some OMEMO issues where messages
will appear to be sent, but in reality they're not. This patch has been
picked from the upstream repo and addresses the issue so that OMEMO is
back in a usable state.

My thanks to @aszlig for helping and testing this.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/profanity')
-rw-r--r--pkgs/applications/networking/instant-messengers/profanity/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/profanity/default.nix b/pkgs/applications/networking/instant-messengers/profanity/default.nix
index 52172bd8be778..4dfca92f39f30 100644
--- a/pkgs/applications/networking/instant-messengers/profanity/default.nix
+++ b/pkgs/applications/networking/instant-messengers/profanity/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, openssl
 , glibcLocales, expect, ncurses, libotr, curl, readline, libuuid
-, cmocka, libmicrohttpd, expat, sqlite, libmesode
+, cmocka, libmicrohttpd, expat, sqlite, libmesode, fetchpatch
 , autoconf-archive
 
 , autoAwaySupport ? true,       libXScrnSaver ? null, libX11 ? null
@@ -32,6 +32,10 @@ stdenv.mkDerivation rec {
   };
 
   patches = [
+    (fetchpatch {
+      url = "https://github.com/profanity-im/profanity/commit/54667c022f17bdb547c3b8b4eec1c2889c9d60f3.patch";
+      sha256 = "0aqrq45im1qnq308hyhh7dqbggzmcqb0b868wr5v8v08pd94s45k";
+    })
     ./patches/packages-osx.patch
   ];