summaryrefslogtreecommitdiff
path: root/gnu/packages/lisp-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2020-12-12 00:21:24 +0000
committerGuillaume Le Vaillant <glv@posteo.net>2020-12-13 09:48:18 +0100
commitf42e54dfaaece18a5065ddd328750d8b316605f3 (patch)
treed840d29af69baae3a5d8c9c0ea8a35f4aef79420 /gnu/packages/lisp-xyz.scm
parente86ed845d776563f42354c83074fedae0a4a1eeb (diff)
gnu: Add cl-command-line-arguments.
* gnu/packages/lisp-xyz.scm (cl-command-line-arguments, ecl-command-line-arguments, sbcl-command-line-arguments): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r--gnu/packages/lisp-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index f77e949fea..021e540f71 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -144,6 +144,35 @@ In order to make one or several variables file-local, use the macros
(define-public ecl-net.didierverna.asdf-flv
(sbcl-package->ecl-package sbcl-net.didierverna.asdf-flv))
+(define-public sbcl-command-line-arguments
+ (let ((commit "fbac862fb01c0e368141204f3f639920462c23fe")
+ (revision "1"))
+ (package
+ (name "sbcl-command-line-arguments")
+ (version (git-version "2.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fare/command-line-arguments")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "054m1ikndzqf72mb9ajaa64136cwr3bgag4yfbi1574a9vq75mjq"))))
+ (build-system asdf-build-system/sbcl)
+ (home-page "https://github.com/fare/command-line-arguments")
+ (synopsis "Trivial command-line argument parsing library for Common Lisp")
+ (description "This is a library to abstract away the parsing of
+Unix-style command-line arguments. Use it in conjunction with asdf:program-op
+or cl-launch for portable processing of command-line arguments.")
+ (license license:expat))))
+
+(define-public ecl-command-line-arguments
+ (sbcl-package->ecl-package sbcl-command-line-arguments))
+
+(define-public cl-command-line-arguments
+ (sbcl-package->cl-source-package sbcl-command-line-arguments))
+
(define-public sbcl-fiveam
(package
(name "sbcl-fiveam")