From patchwork Wed Mar 16 12:44:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reily Siegel X-Patchwork-Id: 37865 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 2054327BBEA; Wed, 16 Mar 2022 12:54:53 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 E175027BBE9 for ; Wed, 16 Mar 2022 12:54:52 +0000 (GMT) Received: from localhost ([::1]:40434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUTAy-0002be-2Z for patchwork@mira.cbaines.net; Wed, 16 Mar 2022 08:54:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUT1V-0007FM-DJ for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUT1V-0004hB-3Q for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUT1V-0001kz-1X for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v2 12/18] gnu: Add clojure-core-async. References: <87y22r32hi.fsf@reilysiegel.com> In-Reply-To: <87y22r32hi.fsf@reilysiegel.com> Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Mar 2022 12:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53765@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.16474346606542 (code B ref 53765); Wed, 16 Mar 2022 12:45:04 +0000 Received: (at 53765) by debbugs.gnu.org; 16 Mar 2022 12:44:20 +0000 Received: from localhost ([127.0.0.1]:50551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0m-0001hN-3D for submit@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:20 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:55196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0j-0001gZ-DT for 53765@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:17 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4KJVMb3YSWz9sZj; Wed, 16 Mar 2022 13:44:11 +0100 (CET) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1647434651; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=DAfGNp3qsdZUtBT03XYhPeiaZ51hN36+6I15PAQa7Fo=; b=R36fNnrPqDKgKSrCJwbCxK5OPqSWWyMktY1RyAqW5DbvRr8FsdZ2XzaMPRx71G9dwGCeUS BwuizIutmrlFBPh+J10I2NyuSOQPYRNZCkFe0hnT+JKffhqeysp3ZC2TWxMFU1Yowf5pnj 1fKW64p0D9/Lw5SENut/gVKkDKHorzLxmRTjtZFP/CTd7so9LSksqjBxNR1V1ZTVfyx5UO YQenxH3hyRxRq3Urb5trNq9U1TE9LiPeGKKbNmoSio/ZGOdHOtWM/9mWqDB/tK0rzbQBK6 4RtaJ3zdFvIf3yMqD3iZvQRvwsqThKWcdZVYZ6ZmzLWGB7Jdo1EuHKW6+515CQ== Date: Wed, 16 Mar 2022 13:44:08 +0100 Message-ID: <87wngucbjb.fsf@reilysiegel.com> 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-core-async): New variable. --- gnu/packages/clojure.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 29f7401ac3..6a45ba7d6c 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -259,6 +259,36 @@ (define-public clojure-algo-monads (home-page "https://github.com/clojure/algo.monads") (license license:epl1.0))) +(define-public clojure-core-async + (package + (name "clojure-core-async") + (version "1.5.648") + (home-page "https://github.com/clojure/core.async") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1any7bh5zsn6agia6y7al1gxnqa6s5g0y45gzy51rfjjccq33xq4")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '("doc") + #:aot-exclude '(cljs.core.async + cljs.core.async.macros + cljs.core.async.impl.ioc-macros))) + (propagated-inputs (list clojure-tools-analyzer-jvm)) + (synopsis "Facilities for async programming and communication in Clojure") + (description "@{core.async} is a Clojure library providing facilities for +async programming and communication in Clojure using communicating sequential +processes. @{core.async} supports both multi-threaded and single-threaded +environments.") + (license license:epl1.0))) + (define-public clojure-core-cache (package (name "clojure-core-cache")