From 45f96c910053ce7d8d021e1e0942de286de787c6 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Thu, 27 Aug 2020 22:24:00 +0530 Subject: [PATCH] libmesode: Add a patch from upstream to fix SSL verification --- pkgs/development/libraries/libmesode/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libmesode/default.nix b/pkgs/development/libraries/libmesode/default.nix index e8fab86f8fc6..90016b09c738 100644 --- a/pkgs/development/libraries/libmesode/default.nix +++ b/pkgs/development/libraries/libmesode/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, libtool, openssl, expat, pkgconfig, check }: +{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, libtool, openssl, expat, pkgconfig, check }: stdenv.mkDerivation rec { pname = "libmesode"; @@ -11,6 +11,14 @@ stdenv.mkDerivation rec { sha256 = "0xzfg1xx88cn36352nnjlb1p7xyw32yqkhjzq10px88iaaqz1vv0"; }; + patches = [ + (fetchpatch { + name = "fix-ssl-certificate-verification.diff"; + url = "https://github.com/profanity-im/libmesode/commit/532ed1e9d3e71e5bea0752e03dbacd4139d750d1.diff"; + sha256 = "140jp7xzskik0sb6aqjsw7z477a124cxl7dkm80m2nyzjng4pzg5"; + }) + ]; + nativeBuildInputs = [ autoreconfHook pkgconfig ]; buildInputs = [ openssl expat libtool check ];