Merge pull request #23820 from ndowens/gloox

gloox: 1.0.14 -> 1.0.20
This commit is contained in:
Michael Raskin 2017-03-18 19:53:15 +01:00 committed by GitHub
commit 55cd5bc6f8

View File

@ -8,27 +8,29 @@ assert zlibSupport -> zlib != null;
assert sslSupport -> openssl != null;
assert idnSupport -> libidn != null;
with stdenv.lib;
let
version = "1.0.14";
version = "1.0.20";
in
stdenv.mkDerivation rec {
name = "gloox-${version}";
src = fetchurl {
url = "http://camaya.net/download/gloox-${version}.tar.bz2";
sha256 = "0h9r4382qv0vqc91x1qz1nivxw1r2l874s1kl0bskzm9dyk742sj";
sha256 = "1a6yhs42wcdm8az3983m3lx4d9296bw0amz5v3b4012g1xn0hhq2";
};
buildInputs = [ ]
++ stdenv.lib.optional zlibSupport zlib
++ stdenv.lib.optional sslSupport openssl
++ stdenv.lib.optional idnSupport libidn;
++ optional zlibSupport zlib
++ optional sslSupport openssl
++ optional idnSupport libidn;
meta = {
description = "A portable high-level Jabber/XMPP library for C++";
homepage = "http://camaya.net/gloox";
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
platforms = with stdenv.lib.platforms; unix;
homepage = http://camaya.net/gloox;
license = licenses.gpl3;
maintainers = with maintainers; [ fuuzetsu ];
platforms = platforms.unix;
};
}