From 6f323b0773b8c187c978d2c210a31efc9c112fcd Mon Sep 17 00:00:00 2001 From: Taylan Ulrich Bayırlı/Kammer Date: Mon, 23 Nov 2015 12:03:17 +0100 Subject: gnu: recode: Add file-name field to source. * gnu/packages/textutils.scm (recode): Add file-name field to source. --- gnu/packages/textutils.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/textutils.scm') diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 9f7cdddcad..ab6757c336 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -40,7 +40,8 @@ (url "https://github.com/pinard/Recode.git") (commit "2d7092a9999194fc0e9449717a8048c8d8e26c18"))) (sha256 - (base32 "1wssv8z6g3ryrw33sksz4rjhlnhgvvdqszw1ggl4rcwks34n86zm")))) + (base32 "1wssv8z6g3ryrw33sksz4rjhlnhgvvdqszw1ggl4rcwks34n86zm")) + (file-name (string-append name "-" version "-checkout")))) (build-system gnu-build-system) (native-inputs `(("python" ,python-2))) (arguments -- cgit v1.2.3 From bbee7bd765413138767d450680e20d3b3e2f7f78 Mon Sep 17 00:00:00 2001 From: Taylan Ulrich Bayırlı/Kammer Date: Mon, 23 Nov 2015 13:46:31 +0100 Subject: gnu: enca: Add file-name field to source. * gnu/packages/textutils.scm (enca): Add file-name field to source. --- gnu/packages/textutils.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/textutils.scm') diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index ab6757c336..e0202905d0 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -75,7 +75,8 @@ handy front-end to the library.") (uri (string-append "https://github.com/nijel/enca/archive/" version ".tar.gz")) (sha256 - (base32 "1xik00x0yvhswsw2isnclabhv536xk1s42cf5z54gfbpbhc7ni8l")))) + (base32 "1xik00x0yvhswsw2isnclabhv536xk1s42cf5z54gfbpbhc7ni8l")) + (file-name (string-append name "-" version ".tar.gz")))) (build-system gnu-build-system) (inputs `(("recode" ,recode))) -- cgit v1.2.3 From e522d84035ba22e536b3ed2141f7c2062cfab6eb Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Thu, 10 Dec 2015 16:15:04 +0100 Subject: gnu: Add libconfig. * gnu/packages/textutils.scm (libconfig): New variable. --- gnu/packages/textutils.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/textutils.scm') diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index e0202905d0..537a840247 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2015 Ricardo Wurmus ;;; Copyright © 2015 Ben Woodcroft +;;; Copyright © 2015 Roel Janssen ;;; ;;; This file is part of GNU Guix. ;;; @@ -179,3 +180,24 @@ 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+))) -- cgit v1.2.3