Subject: bug#55008: closed (Re: [bug#55008] [PATCH] gnu: Add cl-just-getopt-parser)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 20 Apr 2022 11:36:01 +0000

Your bug report

#55008: [PATCH] gnu: Add cl-just-getopt-parser

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
55008: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=55008
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#55008] [PATCH] gnu: Add cl-just-getopt-parser
From: Guillaume Le Vaillant <[email-masked]>
To: Thomas Albers <[email-masked]>
Cc: [email-masked]
Date: Wed, 20 Apr 2022 11:34:14 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch pushed as 101edbe63a887678722bc26cd85a7b7f5637428f.
Thanks.

Subject: [PATCH] gnu: Add cl-just-getopt-parser
From: Thomas Albers <[email-masked]>
To: [email-masked]
Cc: Thomas Albers <[email-masked]>
Date: Mon, 18 Apr 2022 22:28:19 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/lisp-xyz.scm (sbcl-just-getopt-parser,
  ecl-just-getopt-parser, cl-just-getopt-parser): New variables
---
 gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 9317108f4c..b8f3cdb307 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2021 Jacob MacDonald <[email-masked]>
 ;;; Copyright © 2022 Jai Vetrivelan <[email-masked]>
 ;;; Copyright © 2022 Paul A. Patience <[email-masked]>
+;;; Copyright © 2022 Thomas Albers Raviola <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21009,3 +21010,32 @@ (define-public ecl-purgatory

 (define-public cl-purgatory
   (sbcl-package->cl-source-package sbcl-purgatory))
+
+(define-public sbcl-just-getopt-parser
+  (package
+    (name "sbcl-just-getopt-parser")
+    (version "2021.11")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tlikonen/cl-just-getopt-parser")
+             (commit version)))
+       (sha256
+        (base32 "0ngh8b51ngh3bqacl40j6wwiinhwxswsy02d9k7qlzv9sbjxay4s"))
+       (file-name (git-file-name name version))))
+    (build-system asdf-build-system/sbcl)
+    (synopsis "Getopt-like command-line parser for Common Lisp")
+    (description
+     "This package provides the @code{getopt} function to parse command-line
+options.  The options are organized in valid options, other arguments and
+unknown arguments.  Optional Lisp conditions for error situations are also
+defined.")
+    (home-page "https://github.com/tlikonen/cl-just-getopt-parser")
+    (license license:cc0)))
+
+(define-public ecl-just-getopt-parser
+  (sbcl-package->ecl-package sbcl-just-getopt-parser))
+
+(define-public cl-just-getopt-parser
+  (sbcl-package->cl-source-package sbcl-just-getopt-parser))
--
2.35.1