From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: [PATCH 1/3] gnu: Add dotconf. Date: Mon, 31 Oct 2016 10:49:26 +0000 Message-ID: <20161031104928.31856-1-mbakke@fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1A9v-0001ot-JN for guix-devel@gnu.org; Mon, 31 Oct 2016 06:49:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1A9q-0000Ab-PW for guix-devel@gnu.org; Mon, 31 Oct 2016 06:49:43 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:50908) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1A9q-0000AR-LB for guix-devel@gnu.org; Mon, 31 Oct 2016 06:49:38 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: Marius Bakke * gnu/packages/textutils.scm (dotconf): New variable. --- gnu/packages/textutils.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 2259a16..db6e5a1 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2016 Alex Griffin ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 ng0 +;;; Copyright © 2016 Marius Bakke ;;; ;;; This file is part of GNU Guix. ;;; @@ -459,3 +460,35 @@ categories.") ;; GNU General Public License, (c) by the Free Software Foundation. ;; Guix excludes this file. (license (list license:gpl3+ license:public-domain)))) + +(define-public dotconf + (package + (name "dotconf") + (version "1.3") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/williamh/dotconf/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0lsnh0yaw44psmx59hq94cj1932gscp5h8d3cnh05l0svr0cy7kz")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; FIXME maketest.sh does not work. + #:phases + (modify-phases %standard-phases + (add-before 'configure 'autoreconf + (lambda _ + (zero? (system* "autoreconf" "-vif"))))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (home-page "https://github.com/williamh/dotconf") + (synopsis "Configuration file parser library") + (description + "C library for creating and parsing configuration files.") + (license (list license:lgpl2.1 ; Main distribution. + license:asl1.1)))) ; src/readdir.{c,h} -- 2.10.1