gloox: 1.0.14 -> 1.0.20

This commit is contained in:
ndowens 2017-03-12 17:56:33 -05:00
parent 212efab7ac
commit a2d50e744a

View File

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