libmesode: Add a patch from upstream to fix SSL verification

This commit is contained in:
Ashish SHUKLA 2020-08-27 22:24:00 +05:30
parent c59ea8b8a0
commit 45f96c9100
No known key found for this signature in database
GPG Key ID: C746CFA9E74FA4B0

View File

@ -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 ];