nixpkgs/pkgs/development/libraries/gloox/default.nix
R. RyanTM 416f19c3c6 gloox: 1.0.20 -> 1.0.21
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/gloox/versions.

These checks were done:

- built on NixOS
- /nix/store/rg6j9bzijkaszmpx52svk4bvykyykg3q-gloox-1.0.21/bin/gloox-config passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 1 of 1 passed binary check by having the new version present in output.
- found 1.0.21 with grep in /nix/store/rg6j9bzijkaszmpx52svk4bvykyykg3q-gloox-1.0.21
- directory tree listing: https://gist.github.com/5bef3984f748d0cbcde9459c30cce4ac
- du listing: https://gist.github.com/d53e4a8bbd0eeed46b31f97084f775c9
2018-06-14 07:52:24 -07:00

37 lines
866 B
Nix

{ 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;
with stdenv.lib;
let
version = "1.0.21";
in
stdenv.mkDerivation rec {
name = "gloox-${version}";
src = fetchurl {
url = "http://camaya.net/download/gloox-${version}.tar.bz2";
sha256 = "1k57qgif1yii515m6jaqaibkdysfab6394bpawd2l67321f1a4rw";
};
buildInputs = [ ]
++ 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 = licenses.gpl3;
maintainers = with maintainers; [ fuuzetsu ];
platforms = platforms.unix;
};
}