From patchwork Sat Oct 22 00:36:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 43803 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9071B27BBEA; Sat, 22 Oct 2022 01:43:41 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5C3A427BBE9 for ; Sat, 22 Oct 2022 01:43:40 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1om2Wa-0000JI-Hu; Fri, 21 Oct 2022 20:38:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1om2WY-0000Ga-Oo for guix-patches@gnu.org; Fri, 21 Oct 2022 20:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1om2WY-00084z-Hc for guix-patches@gnu.org; Fri, 21 Oct 2022 20:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1om2WY-0005qE-3w for guix-patches@gnu.org; Fri, 21 Oct 2022 20:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58695] [PATCH v2] gnu: Add cl-eris. References: <20221022003119.27404-1-jgart@dismail.de> In-Reply-To: <20221022003119.27404-1-jgart@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 Oct 2022 00:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58695 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58695@debbugs.gnu.org Cc: jgart Received: via spool by 58695-submit@debbugs.gnu.org id=B58695.166639905522420 (code B ref 58695); Sat, 22 Oct 2022 00:38:02 +0000 Received: (at 58695) by debbugs.gnu.org; 22 Oct 2022 00:37:35 +0000 Received: from localhost ([127.0.0.1]:39344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1om2W7-0005pX-11 for submit@debbugs.gnu.org; Fri, 21 Oct 2022 20:37:35 -0400 Received: from mx1.dismail.de ([78.46.223.134]:29334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1om2W5-0005pI-6F for 58695@debbugs.gnu.org; Fri, 21 Oct 2022 20:37:34 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 90e94bef for <58695@debbugs.gnu.org>; Sat, 22 Oct 2022 02:37:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=DNWwtHjwjmp+RMKNAI+etn2qeN8qQFTN5yvodYrYL+E=; b= bx+I0llX88/Yy0Foixw8VdW57Jza+6bMuWUh9uXVwnjd2D4ACQ5Ykkgw7m55HZ0q e+zPFOeUn/UE/NaSjl+rr9+slG6w9Z0T016DIGgn26ImStgCeqm50QmDx2qhqZNH tNso2wjkde2ve0wWKlRs+Rzbx+9dfB8Vl2AnuGvY518nuJbZ4WFou5cz4LJHamFB vUwOhVfVzQAtel1hN+XfWiW2yO5/2NsQ+nP2YMBYo7/vGpfa6ZHoewa9++nh4Rni XRpK6fJpZccvAJ/TnwqBTcCneC84qpFKgxg/SO2sFWxF23M4isVlbvPNg3yrn9Ua 4gQBAIjCwcuODbxLPxkCEw== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 87085144 for <58695@debbugs.gnu.org>; Sat, 22 Oct 2022 02:37:26 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 90348839 for <58695@debbugs.gnu.org>; Sat, 22 Oct 2022 02:37:25 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 9f74d700 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 22 Oct 2022 02:37:24 +0200 (CEST) Date: Fri, 21 Oct 2022 19:36:05 -0500 Message-Id: <20221022003604.28153-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 # ;;; ;;; 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 # 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"))