>From 72e065fc7c8012508ee8ac2963ac25a7c173d33f Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Thu, 10 Dec 2015 16:15:04 +0100 Subject: [PATCH] gnu: Add libconfig. * gnu/packages/textutils.scm (libconfig): New variable. --- gnu/packages/textutils.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index e020290..2aa8615 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -179,3 +179,25 @@ the Hannon Lab.") "CityHash provides hash functions for strings. The functions mix the input bits thoroughly but are not suitable for cryptography.") (license license:expat)))) + +(define-public libconfig + (package + (name "libconfig") + (version "1.5") + (source (origin + (method url-fetch) + (uri (string-append + "http://www.hyperrealm.com/libconfig/libconfig-" + version ".tar.gz")) + (sha256 + (base32 + "1xh3hzk63v4y8815lc5209m3s6ms2cpgw4h5hg462i4f1lwsl7g3")))) + (build-system gnu-build-system) + (home-page "http://www.hyperrealm.com/libconfig/") + (synopsis "C/C++ configuration file library") + (description + "Libconfig is a simple library for manipulating structured configuration +files. This file format is more compact and more readable than XML. And +unlike XML, it is type-aware, so it is not necessary to do string parsing in +application code.") + (license license:lgpl2.1+))) -- 2.5.0