2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2022-05-18 14:49:53 +00:00
|
|
|
, zlibSupport ? true, zlib
|
|
|
|
, sslSupport ? true, openssl
|
|
|
|
, idnSupport ? true, libidn
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
stdenv.mkDerivation rec{
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gloox";
|
2021-07-18 21:22:44 +00:00
|
|
|
version = "1.0.24";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://camaya.net/download/gloox-${version}.tar.bz2";
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "1jgrd07qr9jvbb5hcmhrqz4w4lvwc51m30jls1fgxf1f5az6455f";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ]
|
2023-02-02 18:25:31 +00:00
|
|
|
++ lib.optional zlibSupport zlib
|
|
|
|
++ lib.optional sslSupport openssl
|
|
|
|
++ lib.optional idnSupport libidn;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A portable high-level Jabber/XMPP library for C++";
|
|
|
|
homepage = "http://camaya.net/gloox";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|