[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
52/65: gnu: Add cl-unix-opts.
From: |
Pierre Neidhardt |
Subject: |
52/65: gnu: Add cl-unix-opts. |
Date: |
Fri, 19 Oct 2018 11:59:51 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit 2cc931db448430433b89326fce3a9815c63775df
Author: Pierre Neidhardt <address@hidden>
Date: Tue Oct 9 12:05:23 2018 +0200
gnu: Add cl-unix-opts.
* gnu/packages/lisp.scm (cl-unix-opts, ecl-unix-opts, sbcl-unix-opts): New
variables.
---
gnu/packages/lisp.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 959298f..de50eb4 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -3162,3 +3162,36 @@ settings ensure a very simple mode of operation, similar
to that provided by
(define-public ecl-cl-json
(sbcl-package->ecl-package sbcl-cl-json))
+
+(define-public sbcl-unix-opts
+ (package
+ (name "sbcl-unix-opts")
+ (version "0.1.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libre-man/unix-opts")
+ (commit version)))
+ (file-name (git-file-name "unix-opts" version))
+ (sha256
+ (base32
+ "08djdi1ard09fijb7w9bdmhmwd98b1hzmcnjw9fqjiqa0g3b44rr"))))
+ (build-system asdf-build-system/sbcl)
+ (home-page "https://github.com/hankhero/cl-json")
+ (synopsis "Unix-style command line options parser")
+ (description
+ "This is a minimalistic parser of command line options. The main
+advantage of the library is the ability to concisely define command line
+options once and then use this definition for parsing and extraction of
+command line arguments, as well as printing description of command line
+options (you get --help for free). This way you don't need to repeat
+yourself. Also, @command{unix-opts} doesn't depend on anything and allows to
+precisely control behavior of the parser via Common Lisp restarts.")
+ (license license:expat)))
+
+(define-public cl-unix-opts
+ (sbcl-package->cl-source-package sbcl-unix-opts))
+
+(define-public ecl-unix-opts
+ (sbcl-package->ecl-package sbcl-unix-opts))
- 41/65: gnu: Add queues.simple-cqueue., (continued)
- 41/65: gnu: Add queues.simple-cqueue., Pierre Neidhardt, 2018/10/19
- 53/65: gnu: Add trivial-garbage., Pierre Neidhardt, 2018/10/19
- 56/65: gnu: Add sbcl-cl-cffi-gtk-glib., Pierre Neidhardt, 2018/10/19
- 57/65: gnu: Add sbcl-cl-cffi-gtk-gobject., Pierre Neidhardt, 2018/10/19
- 25/65: gnu: Add sbcl-slime-swank., Pierre Neidhardt, 2018/10/19
- 33/65: gnu: Add prove., Pierre Neidhardt, 2018/10/19
- 34/65: gnu: Add proc-parse., Pierre Neidhardt, 2018/10/19
- 58/65: gnu: Add sbcl-cl-cffi-gtk-gio., Pierre Neidhardt, 2018/10/19
- 47/65: gnu: Add sbcl-cffi-grovel., Pierre Neidhardt, 2018/10/19
- 60/65: gnu: Add sbcl-cl-cffi-gtk-pango., Pierre Neidhardt, 2018/10/19
- 52/65: gnu: Add cl-unix-opts.,
Pierre Neidhardt <=
- 63/65: gnu: Add sbcl-cl-cffi-gtk., Pierre Neidhardt, 2018/10/19
- 30/65: gnu: Add cl-colors., Pierre Neidhardt, 2018/10/19
- 61/65: gnu: Add sbcl-cl-cffi-gtk-gdk-pixbuf., Pierre Neidhardt, 2018/10/19