all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#68341] [PATCH] gnu: Add cl-command-line-args
@ 2024-01-09  6:31 Charles via Guix-patches via
  2024-01-12 14:53 ` bug#68341: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Charles via Guix-patches via @ 2024-01-09  6:31 UTC (permalink / raw)
  To: 68341
  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: Ic9a3906396caacffa7c056242067545d24c058b5
---
 gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index aa3ea7c9ce..15347af0c3 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -1067,6 +1067,43 @@ (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 command-line-argument 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] 2+ messages in thread

* bug#68341: [PATCH] gnu: Add cl-command-line-args
  2024-01-09  6:31 [bug#68341] [PATCH] gnu: Add cl-command-line-args Charles via Guix-patches via
@ 2024-01-12 14:53 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2024-01-12 14:53 UTC (permalink / raw)
  To: 68341-close

[-- Attachment #1: Type: text/plain, Size: 61 bytes --]

Superseeded by <https://issues.guix.gnu.org/68360>.
Closing.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-12 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-09  6:31 [bug#68341] [PATCH] gnu: Add cl-command-line-args Charles via Guix-patches via
2024-01-12 14:53 ` bug#68341: " Guillaume Le Vaillant

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.