libmesode: 0.9.3 -> 0.10.1

This commit is contained in:
devhell 2020-12-26 16:22:32 +00:00
parent 71a4dfb919
commit 7a27de1418

View File

@ -1,32 +1,32 @@
{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, libtool, openssl, expat, pkgconfig, check }: { stdenv
, fetchFromGitHub
, autoreconfHook
, libtool
, openssl
, expat
, pkg-config
, check
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libmesode"; pname = "libmesode";
version = "0.9.3"; version = "0.10.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "boothj5"; owner = "profanity-im";
repo = "libmesode"; repo = "libmesode";
rev = version; rev = version;
sha256 = "0xzfg1xx88cn36352nnjlb1p7xyw32yqkhjzq10px88iaaqz1vv0"; sha256 = "1bxnkhrypgv41qyy1n545kcggmlw1hvxnhwihijhhcf2pxd2s654";
}; };
patches = [ nativeBuildInputs = [ autoreconfHook pkg-config ];
(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 ]; buildInputs = [ openssl expat libtool check ];
dontDisableStatic = true; dontDisableStatic = true;
doCheck = true; doCheck = true;
meta = { meta = with stdenv.lib; {
description = "Fork of libstrophe (https://github.com/strophe/libstrophe) for use with Profanity XMPP Client"; description = "Fork of libstrophe (https://github.com/strophe/libstrophe) for use with Profanity XMPP Client";
longDescription = '' longDescription = ''
Reasons for forking: Reasons for forking:
@ -39,9 +39,10 @@ stdenv.mkDerivation rec {
Whilst Profanity will run against libstrophe, libmesode provides extra Whilst Profanity will run against libstrophe, libmesode provides extra
TLS functionality such as manual SSL certificate verification. TLS functionality such as manual SSL certificate verification.
''; '';
homepage = "https://github.com/boothj5/libmesode/"; homepage = "https://github.com/profanity-im/libmesode/";
license = stdenv.lib.licenses.gpl3; license = with licenses; [ gpl3Only mit];
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
maintainers = [ stdenv.lib.maintainers.devhell ]; broken = stdenv.isDarwin;
maintainers = with maintainers; [ devhell ];
}; };
} }