From 373d1dd03d25c0a55525577a831b6a1b4a1511cd Mon Sep 17 00:00:00 2001 From: devhell Date: Wed, 23 Sep 2020 20:36:53 +0100 Subject: [PATCH] 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. --- .../networking/instant-messengers/profanity/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/profanity/default.nix b/pkgs/applications/networking/instant-messengers/profanity/default.nix index 52172bd8be7..4dfca92f39f 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 ];