diff mbox series

[bug#58695,v2] gnu: Add cl-eris.

Message ID 20221022003604.28153-1-jgart@dismail.de
State New
Headers show
Series [bug#58695,v2] gnu: Add cl-eris. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

jgart Oct. 22, 2022, 12:36 a.m. UTC
* gnu/packages/lisp-xyz.scm (cl-eris, sbcl-eris): New variables.

Here's v2.

ecl version fails ;()

ommon.lisp.
;;;
;;;
;;; Compiling /gnu/store/cl2a3pwqhh5wz09rb4vpqkwyhfd2nhka-ecl-eris-0.1/share/common-lisp/ecl/eris/src/conditions.lisp.
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;;
;;; End of Pass 1.
;;; Finished compiling /gnu/store/cl2a3pwqhh5wz09rb4vpqkwyhfd2nhka-ecl-eris-0.1/share/common-lisp/ecl/eris/src/conditions.lisp.
;;;
;;;
;;; Compiling /gnu/store/cl2a3pwqhh5wz09rb4vpqkwyhfd2nhka-ecl-eris-0.1/share/common-lisp/ecl/eris/src/base32.lisp.
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;;
;;; Warning:
;;;   in file base32.lisp, position 1819
;;;   at (DEFUN READ-WORD ...)
;;;   ! Unsupported CONS type C::BYTE-SPECIFIER. Replacing it with T.
;;; End of Pass 1.
;;; Warning:
;;;   in file base32.lisp, position 1819
;;;   at (DEFUN READ-WORD ...)
;;;   ! Unsupported CONS type C::BYTE-SPECIFIER. Replacing it with T.
;;; Finished compiling /gnu/store/cl2a3pwqhh5wz09rb4vpqkwyhfd2nhka-ecl-eris-0.1/share/common-lisp/ecl/eris/src/base32.lisp.
;;;
;;; Warning: Lisp compilation had style-warnings while
             compiling #<cl-source-file "eris" "src" "base32">
;;;
;;; Compiling /gnu/store/cl2a3pwqhh5wz09rb4vpqkwyhfd2nhka-ecl-eris-0.1/share/common-lisp/ecl/eris/src/eris.lisp.
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;;
;;; Warning:
;;;   in file eris.lisp, position 3161
;;;   at (DEFUN ENCRYPT-INTERNAL-BLOCK ...)
;;;   ! Declaration of type
;;; (SIMPLE-ARRAY (UNSIGNED-BYTE 8))
;;; was found for not bound variable SECRET.
;;; Warning:
;;;   in file eris.lisp, position 11158
;;;   at (DEFUN ERIS-CREATE-TREE ...)
;;;   ! Declaration of type
;;; (SIMPLE-ARRAY (UNSIGNED-BYTE 8) (32))
;;; was found for not bound variable SECRET.
;;; End of Pass 1.
;;; Finished compiling /gnu/store/cl2a3pwqhh5wz09rb4vpqkwyhfd2nhka-ecl-eris-0.1/share/common-lisp/ecl/eris/src/eris.lisp.
;;;
;;; Warning: Lisp compilation had style-warnings while
             compiling #<cl-source-file "eris" "src" "eris">
An error occurred during initialization:
In method definition for ERIS-ENCODE, found an invalid specializer (SIMPLE-ARRAY
                                                                    T T).
error: in phase 'build': uncaught exception:

all best,

jgart
---
 gnu/packages/lisp-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Comments

Guillaume Le Vaillant Oct. 24, 2022, 12:15 p.m. UTC | #1
Patch pushed as e3bb2acbfa7d41ef5f945b9956300b4902e18a1e.
Thanks.
diff mbox series

Patch

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