Subject: [PATCH 1/2] gnu: Add cl-literate-lisp.

From: Konrad Hinsen <[email-masked]>
Date: Thu, 03 Oct 2024 16:40:43 +0200

* gnu/packages/lisp-xyz.scm (cl-literate-lisp, ecl-literate-lisp,
sbcl-literate-lisp): New variables.

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 64fe6d3181..d6f18ad18d 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -19721,6 +19721,39 @@ (define-public cl-listopia
 (define-public ecl-listopia
   (sbcl-package->ecl-package sbcl-listopia))
 
+(define-public sbcl-literate-lisp
+  (let ((commit "76d4d2c16ab08296d58e0ef3c41861b615e697c0"))
+    (package
+      (name "sbcl-literate-lisp")
+      (version "0.6")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/jingtaozf/literate-lisp")
+               (commit commit)))
+         (file-name (git-file-name "literate-lisp" version))
+         (sha256
+          (base32 "0smxf0a62dnwcfxsbsdkx4n5nqx9dlxdz6c2vfivxpqld6d6ap02"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       (list sbcl-cl-ppcre
+             sbcl-iterate
+             sbcl-cl-fad))
+      (native-inputs
+       (list sbcl-fiveam))
+      (home-page "https://github.com/jingtaozf/literate-lisp")
+      (synopsis "Load Common Lisp code blocks from Org-mode files")
+      (description "This package extends the Common Lisp reader
+syntax such that is accepts Org files as Lisp source code files.")
+      (license license:expat))))
+
+(define-public cl-literate-lisp
+  (sbcl-package->cl-source-package sbcl-literate-lisp))
+
+(define-public ecl-literate-lisp
+  (sbcl-package->ecl-package sbcl-literate-lisp))
+
 (define-public sbcl-livesupport
   (let ((commit "71e6e412df9f3759ad8378fabb203913d82e228a")
 	(revision "1"))
-- 
2.46.0