Merge pull request #96486 from wahjava/fix-profanity

libmesode: Add a patch from upstream to fix SSL verification
This commit is contained in:
Lassulus 2020-10-13 21:07:01 +02:00 committed by GitHub
commit 629fb9492e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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