From: Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
To: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Add guile-config
Date: Mon, 15 Feb 2016 12:43:35 +0100 [thread overview]
Message-ID: <87h9haw654.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 377 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Guile Config patch --]
[-- Type: text/x-patch, Size: 1853 bytes --]
From 3666fb9444092710d11a939eba487b5152f51ffe Mon Sep 17 00:00:00 2001
From: Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
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
next reply other threads:[~2016-02-15 11:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-15 11:43 Alex Sassmannshausen [this message]
2016-02-15 17:28 ` Add guile-config Christopher Allan Webber
2016-02-15 19:47 ` Christopher Allan Webber
2016-02-16 8:47 ` Alex Sassmannshausen
2016-02-16 19:27 ` Christopher Allan Webber
2016-02-15 20:38 ` Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9haw654.fsf@gmail.com \
--to=alex.sassmannshausen@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.