all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#58695] [PATCH] gnu: Add cl-eris.
@ 2022-10-22  0:31 jgart via Guix-patches via
  2022-10-22  0:36 ` [bug#58695] [PATCH v2] " jgart via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2022-10-22  0:31 UTC (permalink / raw)
  To: 58695; +Cc: jgart

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#58695] [PATCH v2] gnu: Add cl-eris.
  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
  2022-10-24 12:15   ` bug#58695: " Guillaume Le Vaillant
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2022-10-22  0:36 UTC (permalink / raw)
  To: 58695; +Cc: jgart

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#58695: [PATCH v2] gnu: Add cl-eris.
  2022-10-22  0:36 ` [bug#58695] [PATCH v2] " jgart via Guix-patches via
@ 2022-10-24 12:15   ` Guillaume Le Vaillant
  0 siblings, 0 replies; 3+ messages in thread
From: Guillaume Le Vaillant @ 2022-10-24 12:15 UTC (permalink / raw)
  To: jgart; +Cc: 58695-done

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Patch pushed as e3bb2acbfa7d41ef5f945b9956300b4902e18a1e.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-24 12:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-22  0:31 [bug#58695] [PATCH] gnu: Add cl-eris jgart via Guix-patches via
2022-10-22  0:36 ` [bug#58695] [PATCH v2] " jgart via Guix-patches via
2022-10-24 12:15   ` bug#58695: " Guillaume Le Vaillant

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.