Subject: [bug#73273] [PATCH] gnu: Add sbcl-cl-bnf.

From: Roman Scherer <[email-masked]>
Date: Sun, 15 Sep 2024 10:58:54 +0200

* gnu/packages/lisp-xyz.scm (sbcl-cl-bnf): New variable.

Change-Id: Ib37a839feff579753d7f11c0fdb212dbb685773a
---
 gnu/packages/lisp-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 06f4b313b6..ddd419c70f 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -2093,6 +2093,35 @@ (define-public cl-blackbird
 (define-public ecl-blackbird
   (sbcl-package->ecl-package sbcl-blackbird))
 
+(define-public sbcl-cl-bnf
+  (let ((commit "62153c4493dc0583e1dcfbed07d6bcf77b9ec303")
+        (revision "0"))
+    (package
+      (name "sbcl-cl-bnf")
+      (version (git-version "0.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/diasbruno/cl-bnf")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "05lskaz5kwl4sk8mb13l4kvr3q0q56dyarmznpp1cjpan6rdyr4x"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs (list sbcl-flexi-streams sbcl-utf8-input-stream))
+      (home-page "https://github.com/diasbruno/cl-bnf")
+      (synopsis "BNF parser in Common Lisp")
+      (description "This package provides a @acronym{BNF, Backus–Naur form}
+parser in Common Lisp.")
+      (license (list license:expat)))))
+
+(define-public cl-bnf
+  (sbcl-package->cl-source-package sbcl-cl-bnf))
+
+(define-public ecl-cl-bnf
+  (sbcl-package->cl-source-package sbcl-cl-bnf))
+
 (define-public sbcl-bobbin
   (let ((commit "b454e8241b24ceab674eeeae464c8082b1b6d8ce")
         (revision "0"))

base-commit: 66611696975409a52478b95a862a464daeaefe2a
prerequisite-patch-id: c958f385f8202c80248a545cf194affba3a2d072
-- 
2.46.0