From patchwork Tue Oct 15 11:54:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 15744 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 ABDF11759D; Tue, 15 Oct 2019 12:55:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6DB5E17561 for ; Tue, 15 Oct 2019 12:55:12 +0100 (BST) Received: from localhost ([::1]:42274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKLPz-0001AW-S5 for patchwork@mira.cbaines.net; Tue, 15 Oct 2019 07:55:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33515) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKLPt-0001AI-3k for guix-patches@gnu.org; Tue, 15 Oct 2019 07:55:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKLPr-0001rN-4V for guix-patches@gnu.org; Tue, 15 Oct 2019 07:55:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33996) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKLPq-0001rE-V0 for guix-patches@gnu.org; Tue, 15 Oct 2019 07:55:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iKLPq-0001Fs-7Y for guix-patches@gnu.org; Tue, 15 Oct 2019 07:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37763] [PATCH] gnu: Add arrows. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Oct 2019 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37763 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37763@debbugs.gnu.org Cc: Guillaume Le Vaillant X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15711404814790 (code B ref -1); Tue, 15 Oct 2019 11:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Oct 2019 11:54:41 +0000 Received: from localhost ([127.0.0.1]:42817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKLPV-0001FC-1W for submit@debbugs.gnu.org; Tue, 15 Oct 2019 07:54:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:42412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKLPT-0001F1-2j for submit@debbugs.gnu.org; Tue, 15 Oct 2019 07:54:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33419) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKLPR-0000sa-Fw for guix-patches@gnu.org; Tue, 15 Oct 2019 07:54:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKLPP-0001bX-SQ for guix-patches@gnu.org; Tue, 15 Oct 2019 07:54:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]:47667) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iKLPP-0001aP-Ci for guix-patches@gnu.org; Tue, 15 Oct 2019 07:54:35 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 79C3C2400FC for ; Tue, 15 Oct 2019 13:54:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1571140473; bh=q3gcxeT/AZwtSfLbdtiJvqRaFHM53uoARWk6UsJErGE=; h=From:To:Cc:Subject:Date:From; b=Fz8J8WF7CcGcQ3tZgtG9FxNAGqc38YZ+ZBv487txuI69AqFfDN4Km3AuKGYzGayWx b81ZJkPIUz1+Bukp/ngikVhoHqsRYrQ/mJqhpJgWANT7K7eoJzBhygbdTYZpBBaXe4 P75JFqh/gCz+QsW6GPv/yEi6hWkXiAxOEhrGSgHI5qGGXqLYWT0Jrd5FI/2OSXiq3Q CFxuUfgcKCWG0ZRAYN1r4TJegsOCWytcVdLLZbh4S88vpv+OxImPaS2DKZHFxrj0rm Fgy9DODvkM7DkQ+m0fP7Q9rSCx1Hu7hFSQhNR1zVlcg6wB+T6/4X6y36/xqNIYEWwW 0UBKIbvddup5g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46sv3r5Kbjz9rxV; Tue, 15 Oct 2019 13:54:32 +0200 (CEST) From: Guillaume Le Vaillant Date: Tue, 15 Oct 2019 13:54:15 +0200 Message-Id: <20191015115416.8167-1-glv@posteo.net> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp.scm (cl-arrows, sbcl-arrows, ecl-arrows): New variables. --- gnu/packages/lisp.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 2bdebed04e..716014c67d 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -7718,3 +7718,35 @@ supplement, not a competitor, to Alexandria.") (define-public cl-serapeum (sbcl-package->cl-source-package sbcl-serapeum)) + +(define-public sbcl-arrows + (let ((commit "df7cf0067e0132d9697ac8b1a4f1b9c88d4f5382") + (revision "0")) + (package + (name "sbcl-arrows") + (version (git-version "0.2.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/Harleqin/arrows.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "042k9vkssrqx9nhp14wdzm942zgdxvp35mba0p2syz98i75im2yy")))) + (build-system asdf-build-system/sbcl) + (native-inputs + `(("hu.dwim.stefil" ,sbcl-hu.dwim.stefil))) + (synopsis "Clojure-like arrow macros for Common Lisp") + (description + "This library implements the @code{->} and @code{->>} macros from +Clojure, as well as several expansions on the idea.") + (home-page "https://gitlab.com/Harleqin/arrows") + (license license:public-domain)))) + +(define-public cl-arrows + (sbcl-package->cl-source-package sbcl-arrows)) + +(define-public ecl-arrows + (sbcl-package->ecl-package sbcl-arrows))