1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/libraries/iksemel/default.nix
aszlig f974573a5e
iksemel: Add new package with version 1.4.
This library is used by Zabbix in order to send XMPP alerts/notifications.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-06-21 12:17:55 +02:00

25 lines
677 B
Nix

{ stdenv, fetchurl, pkgconfig, gnutls, zlib }:
stdenv.mkDerivation rec {
name = "iksemel-${version}";
version = "1.4";
src = fetchurl {
url = "https://iksemel.googlecode.com/files/${name}.tar.gz";
sha1 = "722910b99ce794fd3f6f0e5f33fa804732cf46db";
};
preConfigure = ''
sed -i -e '/if.*gnutls_check_version/,/return 1;/c return 0;' configure
export LIBGNUTLS_CONFIG="${pkgconfig}/bin/pkg-config gnutls"
'';
buildInputs = [ pkgconfig gnutls zlib ];
meta = {
homepage = "https://code.google.com/p/iksemel/";
license = stdenv.lib.licenses.lgpl21Plus;
description = "Fast and portable XML parser and Jabber protocol library";
};
}