Add Gloox.
This commit is contained in:
parent
088bfaf826
commit
edcad57434
32
pkgs/development/libraries/gloox/default.nix
Normal file
32
pkgs/development/libraries/gloox/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ stdenv, fetchurl
|
||||||
|
, zlibSupport ? true, zlib ? null
|
||||||
|
, sslSupport ? true, openssl ? null
|
||||||
|
, idnSupport ? true, libidn ? null
|
||||||
|
}:
|
||||||
|
|
||||||
|
assert zlibSupport -> zlib != null;
|
||||||
|
assert sslSupport -> openssl != null;
|
||||||
|
assert idnSupport -> libidn != null;
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "1.0.10";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "gloox-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://camaya.net/download/gloox-${version}.tar.bz2";
|
||||||
|
sha256 = "300e756af97d43f3f70f1e68e4d4c7129d587dface61633f50d2c490876f58a3";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ]
|
||||||
|
++ stdenv.lib.optional zlibSupport zlib
|
||||||
|
++ stdenv.lib.optional sslSupport openssl
|
||||||
|
++ stdenv.lib.optional idnSupport libidn;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A portable high-level Jabber/XMPP library for C++";
|
||||||
|
homepage = "http://camaya.net/gloox";
|
||||||
|
license = [ "GPLv3" ];
|
||||||
|
};
|
||||||
|
}
|
@ -4619,6 +4619,8 @@ let
|
|||||||
|
|
||||||
glog = callPackage ../development/libraries/glog { };
|
glog = callPackage ../development/libraries/glog { };
|
||||||
|
|
||||||
|
gloox = callPackage ../development/libraries/gloox { };
|
||||||
|
|
||||||
glpk = callPackage ../development/libraries/glpk { };
|
glpk = callPackage ../development/libraries/glpk { };
|
||||||
|
|
||||||
glsurf = callPackage ../applications/science/math/glsurf {
|
glsurf = callPackage ../applications/science/math/glsurf {
|
||||||
|
Loading…
Reference in New Issue
Block a user