From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: Add guile-config Date: Mon, 15 Feb 2016 12:43:35 +0100 Message-ID: <87h9haw654.fsf@gmail.com> Reply-To: alex.sassmannshausen@gmail.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVHZ8-0003G3-Rc for guix-devel@gnu.org; Mon, 15 Feb 2016 06:43:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVHZ4-0007po-Ip for guix-devel@gnu.org; Mon, 15 Feb 2016 06:43:42 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:35784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVHZ4-0007pk-Am for guix-devel@gnu.org; Mon, 15 Feb 2016 06:43:38 -0500 Received: by mail-wm0-x235.google.com with SMTP id c200so108984114wme.0 for ; Mon, 15 Feb 2016 03:43:38 -0800 (PST) Received: from yamato ([91.182.227.193]) by smtp.gmail.com with ESMTPSA id xx3sm24934649wjc.32.2016.02.15.03.43.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Feb 2016 03:43:36 -0800 (PST) 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "guix-devel@gnu.org" --=-=-= Content-Type: text/plain Hello, Attached you should find a working patch for guile-config, a library for Guile that should make maintaining command-line options and configuration files for your scripts/programs easier. I'm preparing a 0.1 Release announcement for this project too. I ran it through `guix lint` and it seemed to be fine, but let me know if you have any comments! Best wishes, Alex --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-guile-config.patch Content-Description: Guile Config patch >From 3666fb9444092710d11a939eba487b5152f51ffe Mon Sep 17 00:00:00 2001 From: Alex Sassmannshausen Date: Sun, 14 Feb 2016 19:23:24 +0100 Subject: [PATCH] gnu: Add guile-config. * gnu/packages/guile.scm (guile-config): New variable. --- gnu/packages/guile.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index e6e7228..ab38af5 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -731,6 +731,33 @@ interface for reading articles in any format.") (home-page "http://haunt.dthompson.us") (license gpl3+))) +(define-public guile-config + (package + (name "guile-config") + (version "0.1") + (source (origin + (method url-fetch) + (uri (string-append + "http://alex.pompo.co/software/" name "-" version + ".tar.gz")) + (sha256 + (base32 + "1yk4xmwp4rl9ral02igppfh9dh4l97k2kmgpkqhy3znjir004v8z")))) + (build-system gnu-build-system) + (inputs + `(("guile" ,guile-2.0))) + (synopsis "Guile application configuration parsing library") + (description + "Guile Config is a library providing a declarative approach to +application configuration specification. The library provides clean +configuration declaration forms, and processors that take care of: +configuration file creation; configuration file parsing; command-line +parameter parsing using getopt-long; basic GNU command-line parameter +generation (--help, --usage, --version); automatic output generation for the +above command-line parameters.") + (home-page "https://github.com/a-sassmannshausen/guile-config") + (license agpl3+))) + (define-public guile-redis (package (name "guile-redis") -- 2.6.3 --=-=-=--