2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2022-05-09 21:34:16 +00:00
|
|
|
, zlibSupport ? true, zlib
|
|
|
|
, sslSupport ? true, openssl
|
|
|
|
, idnSupport ? true, libidn
|
2014-06-18 21:18:31 +00:00
|
|
|
}:
|
|
|
|
|
2017-03-12 22:56:33 +00:00
|
|
|
|
2021-07-17 17:56:23 +00:00
|
|
|
stdenv.mkDerivation rec{
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "gloox";
|
2021-07-17 17:56:23 +00:00
|
|
|
version = "1.0.24";
|
2014-06-18 21:18:31 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://camaya.net/download/gloox-${version}.tar.bz2";
|
2020-08-01 08:02:05 +00:00
|
|
|
sha256 = "1jgrd07qr9jvbb5hcmhrqz4w4lvwc51m30jls1fgxf1f5az6455f";
|
2014-06-18 21:18:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ]
|
2023-01-26 17:31:02 +00:00
|
|
|
++ lib.optional zlibSupport zlib
|
|
|
|
++ lib.optional sslSupport openssl
|
|
|
|
++ lib.optional idnSupport libidn;
|
2014-06-18 21:18:31 +00:00
|
|
|
|
2023-01-26 17:31:02 +00:00
|
|
|
meta = with lib; {
|
2014-06-18 21:18:31 +00:00
|
|
|
description = "A portable high-level Jabber/XMPP library for C++";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://camaya.net/gloox";
|
2017-03-12 22:56:33 +00:00
|
|
|
license = licenses.gpl3;
|
2019-12-05 07:29:48 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-03-12 22:56:33 +00:00
|
|
|
platforms = platforms.unix;
|
2014-06-18 21:18:31 +00:00
|
|
|
};
|
|
|
|
}
|