* [bug#68360] [PATCH v2] gnu: Add cl-command-line-args
@ 2024-01-10 0:44 Charles via Guix-patches via
2024-01-12 14:47 ` Guillaume Le Vaillant
0 siblings, 1 reply; 4+ messages in thread
From: Charles via Guix-patches via @ 2024-01-10 0:44 UTC (permalink / raw)
To: 68360
Cc: Charles, Guillaume Le Vaillant, Katherine Cox-Buday,
Munyoki Kilyungi, jgart
* gnu/packages/lisp-xyz.scm (cl-command-line-args, ecl-command-line-args,
sbcl-command-line-args): New variables.
Change-Id: I6a829e6934b93c58a9c2a3673bb553d1e2132007
---
I remembered that I need to run guix lint, so I fixed those issues.
gnu/packages/lisp-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index aa3ea7c9ce..f5c45b8d44 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -1067,6 +1067,42 @@ (define-public cl-clingon
(define-public ecl-clingon
(sbcl-package->ecl-package sbcl-clingon))
+(define-public sbcl-command-line-args
+ (package
+ (name "sbcl-command-line-args")
+ (version "0.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~whereiseveryone/command-line-args")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "01p52zxr1b49c15ichlc3zadd1mrmwxzria53j949ayl2j6k8w1b"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ '(#:asd-systems '("whereiseveryone.command-line-args")))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-serapeum
+ sbcl-cl-str
+ sbcl-trivia))
+ (home-page "https://git.sr.ht/~whereiseveryone/command-line-args")
+ (synopsis "Automatically create a CLI parser for a given Common Lisp function definition")
+ (description "Command-Line-Args provides a main macro (@code{command})
+that wraps a @code{defun} form and creates a new function that parses the
+command line arguments. It has support for command-line options, positoinal,
+and variadic arguments. It also generates a basic help message. The
+interface is meant to be easy and non-intrusive.")
+ (license license:agpl3+)))
+
+(define-public cl-command-line-args
+ (sbcl-package->cl-source-package sbcl-command-line-args))
+
+(define-public ecl-command-line-args
+ (sbcl-package->ecl-package sbcl-command-line-args))
+
(define-public sbcl-cl-irc
(let ((commit "963823537c7bfcda2edd4c44d172192da6722175")
(revision "0"))
base-commit: 3de361d9c9d320aefbd43710124d7b07af891de1
--
2.41.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-01-13 13:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-10 0:44 [bug#68360] [PATCH v2] gnu: Add cl-command-line-args Charles via Guix-patches via
2024-01-12 14:47 ` Guillaume Le Vaillant
2024-01-12 17:35 ` Charles via Guix-patches via
2024-01-13 13:06 ` bug#68360: " Guillaume Le Vaillant
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).