mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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>
This commit is contained in:
parent
b0601f6d6f
commit
f974573a5e
24
pkgs/development/libraries/iksemel/default.nix
Normal file
24
pkgs/development/libraries/iksemel/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ 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";
|
||||
};
|
||||
}
|
@ -4220,6 +4220,8 @@ let
|
||||
|
||||
id3lib = callPackage ../development/libraries/id3lib { };
|
||||
|
||||
iksemel = callPackage ../development/libraries/iksemel { };
|
||||
|
||||
ilbc = callPackage ../development/libraries/ilbc { };
|
||||
|
||||
ilmbase = callPackage ../development/libraries/ilmbase { };
|
||||
|
Loading…
Reference in New Issue
Block a user