Subject: [bug#58695] [PATCH] gnu: Add cl-eris.

From: jgart <[email-masked]>
Date: Fri, 21 Oct 2022 19:31:19 -0500

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index b474a0f2b7..dc4b7b197a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -21850,6 +21850,44 @@ (define-public cl-simple-routes
 (define-public ecl-simple-routes
   (sbcl-package->ecl-package sbcl-simple-routes))
 
+(define-public sbcl-eris
+  (package
+    (name "sbcl-eris")
+    (version "0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.ykonai.net/eris-cl")
+             (commit version)))
+       (file-name (git-file-name "eris" version))
+       (sha256
+        (base32 "0qm74ld70aic39giamvix88500flv86047a82rx9gkjwaisf58rc"))))
+    (build-system asdf-build-system/sbcl)
+    (native-inputs (list sbcl-fiveam))
+    (inputs
+     (list sbcl-alexandria
+           sbcl-serapeum
+           sbcl-trivial-gray-streams
+           sbcl-function-cache
+           sbcl-bordeaux-threads
+           sbcl-osicat
+           sbcl-mmap
+           sbcl-ironclad))
+    (home-page "https://git.ykonai.net/eris-cl/")
+    (synopsis "ERIS implementation for Common Lisp")
+    (description
+"Common Lisp implementation of the Encoding for Robust Immutable Storage
+specification (ERIS).")
+    (license license:lgpl3+)))
+
+(define-public ecl-eris
+  (sbcl-package->ecl-package sbcl-eris))
+
+(define-public cl-eris
+  (sbcl-package->cl-source-package sbcl-eris))
+
+
 (define-public sbcl-cl-ipfs-api2
   (let ((commit "3ee52c80023bcc662f7d01276ea0a5814bd0011b")
         (revision "0"))
-- 
2.38.1