From patchwork Fri Mar 29 03:39:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles X-Patchwork-Id: 62345 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 0AA7427BBE9; Fri, 29 Mar 2024 03:49:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 5D44927BBE2 for ; Fri, 29 Mar 2024 03:49:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rq3Eq-0000Vj-Gx; Thu, 28 Mar 2024 23:49:08 -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 1rq3Em-0000VF-Bb for guix-patches@gnu.org; Thu, 28 Mar 2024 23:49:06 -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 1rq3Em-0007Qm-36 for guix-patches@gnu.org; Thu, 28 Mar 2024 23:49:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rq3El-0007QG-Bn; Thu, 28 Mar 2024 23:49:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70060] [PATCH 2/2] gnu: Add cl-charje.loop. Resent-From: Charles Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Fri, 29 Mar 2024 03:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70060 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70060@debbugs.gnu.org Cc: Charles , Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by submit@debbugs.gnu.org id=B.171168409628292 (code B ref -1); Fri, 29 Mar 2024 03:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Mar 2024 03:48:16 +0000 Received: from localhost ([127.0.0.1]:41359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rq3Dz-0007MD-CP for submit@debbugs.gnu.org; Thu, 28 Mar 2024 23:48:15 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rq3Dr-0007KZ-1z for submit@debbugs.gnu.org; Thu, 28 Mar 2024 23:48:13 -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 1rq3Dj-0000LF-Bw for guix-patches@gnu.org; Thu, 28 Mar 2024 23:48:00 -0400 Received: from 076-187-193-118.res.spectrum.com ([76.187.193.118] helo=mail.charje.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rq3Dh-0007GK-PZ for guix-patches@gnu.org; Thu, 28 Mar 2024 23:47:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=charje.net; s=dkim6; t=1711683669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JUGz/Q2jhwE5tlDScTCYYnJEEKlF5IbKf4Sz+TJgf6c=; b=h88ndfwhWms7R4tRPwT5TFhBbmago3BerxDyqxO1vNlF2lv2QyrdV/9W5f/vAFNxpHHM/k vlBu9KDUf2Zva7AFJUu6dMC4+fjHsQ1O2P/V/LBmL7HBZfUjBaPiIUME0ZbXCieZ6IS6Lx W0s3Hu+z8H1BzWw2gBOA7Dqb/UjJNsD1gwcbr0Lx6NyPNwABI/YTksuZxqfhn+u/KCv4xr IahMxdVX6OOouKztXA5Jc8O79/v3MsMwhJSGeAu/ZL5QYRBMOxjoPF1blPvzQTk2A/0HeK oiD48fa8BTRUs3zDJR77NAEwgjsnJsqrQHXy0ft4gf+Bll0voYv+SisUUZB+6g== Received: from charje.net (076-187-193-118.res.spectrum.com [76.187.193.118]) by localhost (OpenSMTPD) with ESMTPSA id c129eef5 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 29 Mar 2024 03:41:09 +0000 (UTC) Date: Thu, 28 Mar 2024 22:39:27 -0500 Message-ID: <573fb7c1c21949db47fd72445dd47b3d03536474.1711683567.git.charles@charje.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <052d5122708b08e606db5d12dd71a14c1dc49949.1711683567.git.charles@charje.net> References: <052d5122708b08e606db5d12dd71a14c1dc49949.1711683567.git.charles@charje.net> MIME-Version: 1.0 Received-SPF: pass client-ip=76.187.193.118; envelope-from=charles@charje.net; helo=mail.charje.net X-Spam_score_int: 26 X-Spam_score: 2.6 X-Spam_bar: ++ X-Spam_report: (2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_PBL=3.335, RCVD_IN_SORBS_DUL=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no 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: , Reply-to: Charles X-ACL-Warn: , Charles via Guix-patches X-Patchwork-Original-From: Charles via Guix-patches via From: Charles Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (sbcl-charje.loop, cl-charje.loop, ecl-charje.loop): New variables. Change-Id: I69cfc7a73a7632e4fa2204d729503b98e609070e --- gnu/packages/lisp-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 1a7fb18d81..1c47b7a7c6 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -2552,6 +2552,40 @@ (define-public cl-iterate (define-public ecl-iterate (sbcl-package->ecl-package sbcl-iterate)) +(define-public sbcl-charje.loop + (package + (name "sbcl-charje.loop") + (version "0.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~charje/loop") + (commit (string-append "v" version)))) + (file-name (git-file-name "cl-charje.loop" version)) + (sha256 + (base32 + "1x1hw5xmrx9xmfzga8y0yi6s27r7zc80rwl2z7l4d2h24ykscvd4")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-alexandria + sbcl-binding-arrows + sbcl-parse-declarations)) + (home-page "https://git.sr.ht/~charje/loop") + (synopsis "Loop abstraction for Common Lisp that is consistent for +different kinds of data") + (description "Loop is a joy to use and has a consistent interface unlike +other looping abstractions and ANSI list operations. You can define your own +iterators and aggregators that integrate tightly into other operations. All +operations are non-consing when possible.") + (license license:agpl3+))) + +(define-public cl-charje.loop + (sbcl-package->cl-source-package sbcl-charje.loop)) + +(define-public ecl-charje.loop + (sbcl-package->ecl-package sbcl-charje.loop)) + (define-public sbcl-cl-uglify-js ;; There have been many bug fixes since the 2010 release. (let ((commit "429c5e1d844e2f96b44db8fccc92d6e8e28afdd5")