unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 58695@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#58695] [PATCH v2] gnu: Add cl-eris.
Date: Fri, 21 Oct 2022 19:36:05 -0500	[thread overview]
Message-ID: <20221022003604.28153-1-jgart@dismail.de> (raw)
In-Reply-To: <20221022003119.27404-1-jgart@dismail.de>

* 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(+)

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





  reply	other threads:[~2022-10-22  0:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-22  0:31 [bug#58695] [PATCH] gnu: Add cl-eris jgart via Guix-patches via
2022-10-22  0:36 ` jgart via Guix-patches via [this message]
2022-10-24 12:15   ` bug#58695: [PATCH v2] " Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221022003604.28153-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=58695@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).