2016-12-17 16:16:55 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, libtool, openssl, expat, pkgconfig, check }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libmesode";
|
2019-10-22 15:23:22 +01:00
|
|
|
version = "0.9.3";
|
2016-12-17 16:16:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "boothj5";
|
|
|
|
repo = "libmesode";
|
|
|
|
rev = version;
|
2019-10-22 15:23:22 +01:00
|
|
|
sha256 = "0xzfg1xx88cn36352nnjlb1p7xyw32yqkhjzq10px88iaaqz1vv0";
|
2016-12-17 16:16:55 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ openssl expat libtool check ];
|
2016-12-17 16:16:55 +00:00
|
|
|
|
|
|
|
dontDisableStatic = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Fork of libstrophe (https://github.com/strophe/libstrophe) for use with Profanity XMPP Client";
|
|
|
|
longDescription = ''
|
|
|
|
Reasons for forking:
|
|
|
|
|
|
|
|
- Remove Windows support
|
|
|
|
- Support only one XML Parser implementation (expat)
|
|
|
|
- Support only one SSL implementation (OpenSSL)
|
|
|
|
|
|
|
|
This simplifies maintenance of the library when used in Profanity.
|
|
|
|
Whilst Profanity will run against libstrophe, libmesode provides extra
|
|
|
|
TLS functionality such as manual SSL certificate verification.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/boothj5/libmesode/";
|
2016-12-17 16:16:55 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2017-08-31 20:10:00 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-12-17 16:16:55 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.devhell ];
|
|
|
|
};
|
|
|
|
}
|