diff mbox series

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

Message ID fc688c3685b7247dda541dd10b7f0e7452522a2a.1726390694.git.roman@burningswell.com
State New
Headers show
Series [bug#73273] gnu: Add sbcl-cl-bnf. | expand

Commit Message

Roman Scherer Sept. 15, 2024, 8:58 a.m. UTC
* gnu/packages/lisp-xyz.scm (sbcl-cl-bnf): New variable.

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


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

Comments

Guillaume Le Vaillant Sept. 18, 2024, 12:44 p.m. UTC | #1
Patch applied as 40dbae7fe4de91af4eb2dae2ee88e369de83698b with some
fixes.
Thanks.
diff mbox series

Patch

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"))