From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oBJPEpYO2mYWgAEAqHPOHw:P1 (envelope-from ) for ; Thu, 05 Sep 2024 20:03:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oBJPEpYO2mYWgAEAqHPOHw (envelope-from ) for ; Thu, 05 Sep 2024 22:03:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NJMmb1Kq; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm1 header.b=oQx4vRFv; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=NhJWNtJo; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=fastmail.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725566614; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=qaMrFpLOEieYn98qLf+NCcp1czJGnPn0Rtg2x8TqD4Y=; b=lLRE4QZ6+hd/HCFPAc/OmGb5+wIkvcUMtUHkHBPz3n/eBLkdFSFO3jUlJiRBtudYOJ9Rci nTxVTf0VxnOHFdx+NU4LTftj3CLCB0/Y41nZoa6GK7ESnlh2VRJ3JHYcGFxqMfKu70K7WR AwvO5jOwoI3us2mQHKkql0Ark/jEkXXxRnFznGlWsaoZAJL/HHA5mYl7tei4gGzkFvIBhm kr6mZJpusU3opssYMJyNsiNYtdQJiCJm8BfgQTUcq2Kzg9PP1PFQIDEOWLWY6JBMBdOxa4 JCDOcQH1AF3ykJHaJ2vchhKqp1BNvZ9vB2+tjKTbwxXATzuNpZId1PlJxgLJvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NJMmb1Kq; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm1 header.b=oQx4vRFv; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=NhJWNtJo; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=fastmail.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725566614; a=rsa-sha256; cv=none; b=lwkG3/505ek+hKFJ90Ynv4PzhZC4mt8fmewmTz0WNHrFGQTvYlKGyNu4kx8UJVvWq3zLpq pDhPeKTqZ25qGjvVqYQ5ZrUGuVk8IPuhVJibH5EznSx2QaM9lS1aqql42IXknE7okiH73w j41DjFc4WIMgNwkQrMkfL7Lu2L+NgbzEugPtt82o8lVtE3xw4ZnGuNyiSz3rtxxtuy4V0r ot//ML2c+7Ftdb96QJqCz2h/1jbI8nq2tQNHWxv+J9CiqZSdkYw8zqySbKC5ZAlQHeScDM AFUd7R2NGI7LhwloUdeD1h78It8fBKB+j7SwvIghp/HXfGMi2jpn9fXAEzRs9Q== 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 37C456CA0E for ; Thu, 5 Sep 2024 22:03:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smIh5-0007LW-1H; Thu, 05 Sep 2024 16:03:03 -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 1smIh0-00070s-HM for guix-patches@gnu.org; Thu, 05 Sep 2024 16:02:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smIh0-0006Eb-7v for guix-patches@gnu.org; Thu, 05 Sep 2024 16:02:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=qaMrFpLOEieYn98qLf+NCcp1czJGnPn0Rtg2x8TqD4Y=; b=NJMmb1Kqep+4wftYSu+Qb9bKeuacZoQSwrV14ZvcZr8JLWvXM6eK8E7BHZFsoiwBBvLGVimlxP/bfl300mPE+wpa/EXWFUG18bAC6bE4fIwgo6PghP0Xpt7yqUyQou1u9R5vuC1Wk7a2jvWYCVOa23qIQdxnopl1/30nmKP6MisLNxruCbM0qIFiQIEgctDhKdIHw9z2EnL/F9CTC7/vQKef2D6SVpb/pIDbL0zACiNnDCTY8kz5jAvAFNpJ/jNeiO6HKX/BlnZDvXYXzuiNuQti4DQ+nSGhhrnOOS5eKgP7htDWJyMIuMIb5kEGv7oELlIeqInuw3y3ZyFFcwKpxQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smIi3-0005ms-K7 for guix-patches@gnu.org; Thu, 05 Sep 2024 16:04:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73057] [PATCH 2/2] gnu: Add sbcl-ciel-repl. Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Sep 2024 20:04:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73057@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172556660322142 (code B ref -1); Thu, 05 Sep 2024 20:04:03 +0000 Received: (at submit) by debbugs.gnu.org; 5 Sep 2024 20:03:23 +0000 Received: from localhost ([127.0.0.1]:38291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smIhO-0005ky-O7 for submit@debbugs.gnu.org; Thu, 05 Sep 2024 16:03:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:33168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smIhN-0005kb-6w for submit@debbugs.gnu.org; Thu, 05 Sep 2024 16:03:21 -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 1smIOR-0007uE-Gd for guix-patches@gnu.org; Thu, 05 Sep 2024 15:43:47 -0400 Received: from fhigh3-smtp.messagingengine.com ([103.168.172.154]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smIOP-0003Qk-PC for guix-patches@gnu.org; Thu, 05 Sep 2024 15:43:47 -0400 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id CE56D1140216; Thu, 5 Sep 2024 15:43:44 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Thu, 05 Sep 2024 15:43:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1725565424; x=1725651824; bh=qaMrFpLOEieYn98qLf+NCcp1czJGnPn0 Rtg2x8TqD4Y=; b=oQx4vRFvsdVjDBP9ivN4R3zLYelvqwyphF6r7rMWiMl0pOXx kEso7WrK+gRfsMPiuJpSlfepf9oN9pRpPdYV7+I4uGH4ap/5eI6FYfQRVeLjpP3z hJMFAUxlnVyssXxDQJAJVrY+wewdm/4zYDbjp5GaX1z4AWQwzOHykBndhuPVFNNN snvTJ2Y29UY8NpvF1vq0IGP5qMBWaweDGCLCEC/ad8do2utqTfXxsUcqnsV0Dwhm YAMaer8gwoK2+jY1sMYOErejyBMwm2Y7QgpD4bz70B7T+tZ6gNn+vOJ+6xe9myzd AObwzusmY01wBQCkuAvJ3HO7HOatB/FGeETRNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1725565424; x=1725651824; bh=qaMrFpLOEieYn98qLf+NCcp1czJGnPn0Rtg 2x8TqD4Y=; b=NhJWNtJoPObffIAhc/nbLU81BpRWxmkeepwHnKFKIPkbzytrtBo 8IBP1xzS++aEH7A9m7Ph+eL311OoycAZZzgL9JNBCWaMGtQWyS4ebOVFxJ+Zrx0j n34hVfqKW+efqe4W4CqBC4r38weshQWDPH2hByNxx+bwgeVi7ITEEUm83vG/J1gb CuZA+4K///pn0tYkct0MCcRWe0uN9G86mQ01KLclPB5D9XLXYQ47UUs4fqT9Oj/Q ACKjhXAUMlazn8sZ4OR9+Vxd+NyqP3SlJI8l4kccpclXo7pVU3ruhyFsrUgxldgY 4qImvq92cXNNmKKOjT/LAtls7D33chMacZg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudehledgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuf ffkfggtgesthdtredttddttdenucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehk ohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvg hrnhepueehfedukeelueehffdvtdekkedtfeejvefgjeduudevveeigedtgeekgfeuhfeu necuffhomhgrihhnpehgihhthhhusgdrtghomhdptghivghlqdhlrghnghdrohhrghenuc evlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgr ugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvthdpnhgspghrtghpthhtohepvddpmh houggvpehsmhhtphhouhhtpdhrtghpthhtohepsggttgeskhhhihhnshgvnhdrfhgrshht mhgrihhlrdhnvghtpdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorh hg X-ME-Proxy: Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 5 Sep 2024 15:43:44 -0400 (EDT) From: Konrad Hinsen Date: Thu, 05 Sep 2024 21:43:43 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.154; envelope-from=konrad.hinsen@fastmail.net; helo=fhigh3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -4.32 X-Migadu-Queue-Id: 37C456CA0E X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.32 X-TUID: 7msj3Bdjq/Su * gnu/packages/lisp-xyz.scm (sbcl-ciel-repl): New variable. Change-Id: I85eabe27d35a6d540a634f4121209b59a6c7085b --- gnu/packages/lisp-xyz.scm | 69 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index c22d5f6565..536b4029dc 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -3563,6 +3563,75 @@ (define-public cl-ciel (define-public ecl-ciel (sbcl-package->ecl-package sbcl-ciel)) +(define-public sbcl-ciel-repl + (let ((commit "0b26d64dcd91a3a2aa962842629a853261dd30fe") + (version "0.2.1")) + (package + (name "sbcl-ciel-repl") + (version version) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/khinsen/CIEL") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gm8slnz4jw98rkijnh2dp6x629xdnfk8z7j35g03j6ypr56v06h")) + (patches (search-patches "ciel-repl.patch")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-ciel + sbcl-cl-readline + sbcl-lisp-critic + sbcl-magic-ed)) + (arguments + (list + #:asd-systems ''("ciel/repl") + #:phases + #~(modify-phases %standard-phases + ;; The built-in scripts require special care. They are + ;; read from src/scripts in the current directory. + ;; When the binary is built, the current directory is + ;; {out}/bin, so the scripts have to be copied there, + ;; but that copy must be deleted after the binary has been + ;; built, otherwise it would end up in the package. + (add-after 'create-asdf-configuration 'install-scripts + (lambda _ + (let ((dir (string-append #$output "/bin/src/scripts"))) + (for-each (lambda (file) + (install-file file dir)) + (find-files "src/scripts" "\\.lisp$"))))) + (add-after 'install-scripts 'build-program + (lambda* (#:key outputs #:allow-other-keys) + (build-program + (string-append #$output "/bin/ciel") + outputs + #:entry-program '((ciel::main)) + #:dependencies '("ciel/repl") + #:compress? #t))) + (add-after 'build-program 'delete-scripts + (lambda _ + (let ((dir (string-append #$output "/bin/src"))) + (delete-file-recursively dir)))) + ;; Remove everything except the binary. + (add-after 'delete-scripts 'delete-lisp-files + (lambda _ + (let ((dir (string-append #$output "/etc"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/lib"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/share"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/.asd-files"))) + (delete-file-recursively dir))))))) + (home-page "http://ciel-lang.org/") + (synopsis "Terminal REPL for CIEL") + (description + "CIEL as a precompiled binary and a full-featured REPL +for the terminal.") + (license license:expat)))) + (define-public sbcl-circular-streams (let ((commit "e770bade1919c5e8533dd2078c93c3d3bbeb38df") (revision "1")) -- 2.45.2