3
0
Fork 0
forked from mirrors/nixpkgs

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