From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UP50Lbw8U2N03wAAbAwnHQ (envelope-from ) for ; Sat, 22 Oct 2022 02:43:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id XwmNLbw8U2NpFwEAauVa8A (envelope-from ) for ; Sat, 22 Oct 2022 02:43:40 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 53E873C464 for ; Sat, 22 Oct 2022 02:43:40 +0200 (CEST) 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 Content-Transfer-Encoding: 8bit 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 From: jgart via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666399420; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pUQTFssbKglFdciZCWr5tXzJBmUXf4mA7/9zCoN3lI8=; b=BeIyFLhHWBwjT53rxdeZ5twfkoMvuP58GmHg1qOqeUZd/egQbNrP7Nzzm2d1Ir4nWuNU33 8CaNlm7da4EypL028F+tmwnwdzIWbyt8/DxpqQ+BMixMtZmkwNy5QUbfnzmM2eYORzB0Gw TWoCErP4602Ix0c+0BFjqJgczw+snfFsDIz0VFjAPXj1tpqei0fLNKFip1QrKpyGXUqiuQ cWzyOgCNQwvwDCNTRERw+IjSMrQ9Oz0TAtX0kNG2GACbrDRjUPay/Fg1SGg8PW7v8tYC0N TcEDyLbNK2lBMnoxnjtTnegwuD51N0UCFrgBCPiOM9UuMLR2LrpZD1xH/aDRQg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666399420; a=rsa-sha256; cv=none; b=L5Ti5jgtnVZ/j2ZYf9wYnmhBZr5l71TlQbysP06wj5nkvgn/qMhn/2xk9SFvc7IlN7Jivp ENMXW8gXBerDf410Jqz8KXBhSI3aIINPLQHxJuPWS6fokbH2E4t6jJ3TIvvtc0/wIjpQQ+ VNm3TR4sekfSCsKHSIJuOS8c11NIvB5GWGiSSpzG/Q1RUa/R13oJZPaS8Kb4Q8BWDaSggH L95tYyjKXpZGyI5egcXUxOYi+NumNEl91hRSVXFFLh0Z6gVV3D/29o7JNgz3brratFYWLq e78tmto2ZnLKTj16vbFEOH6kPHCR2nbhnSrVRc3a7efuW8HgdCsQfE/4h0FMZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=bx+I0llX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=bx+I0llX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 53E873C464 X-Spam-Score: -2.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: lFLZ95QQ1V9s * 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")) -- 2.38.1