From patchwork Sat Sep 7 09:51:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67704 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 45C6E27BBEA; Sat, 7 Sep 2024 10:54:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham 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 BA71B27BBE2 for ; Sat, 7 Sep 2024 10:54:30 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms90-0004po-JX; Sat, 07 Sep 2024 05:54:14 -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 1sms8r-0004oH-8d for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:05 -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 1sms8q-00061c-Sx for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:04 -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:References:In-Reply-To:Date:From:To:Subject; bh=sb6ublpVQeMqm/xJmXIMWH4mKmD9RVCNAJxcu4haUDk=; b=OxFTsjkAHKmN0uTR0ck+xbIQdZ8Yckgpb6M/5F3oLachrgEVSrw5WqJ9XFr7JPU1u64Hj8XgHOeYNJKBKrxhiRgWl/8cIc0ImAmG8TMFZw82cinFbQfFFmGj1ynEoKHEy0Rp9BzOdYj9ZJDgVyxI3P0HT/e5IofprX4zKzbJlLIXcJ+PNvH10MwzNkQkkYOiSnjz8W2yrkHeY7S1AJ7eDRrE3GIwhsskui6Xl6ccsibRyN2uCpmOYhI7rJMF2F+D/0PJet2uZRzdq7eqhklS5T9KNvSPbV2gVi7hLvh+kdbUEkiqLkY3Q+aleryY0pTeqlXbkZ8v5EmgYdWOsmhNyA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms8r-0000V8-Ek for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 09/10] gnu: Add clojure-core-async. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:54:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257028011805 (code B ref 72463); Sat, 07 Sep 2024 09:54:05 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:53:21 +0000 Received: from localhost ([127.0.0.1]:54901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms89-0000Sx-4u for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:21 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:53469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7q-0000QO-NV for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:03 -0400 Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-374c3400367so2206013f8f.2 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702716; x=1726307516; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sb6ublpVQeMqm/xJmXIMWH4mKmD9RVCNAJxcu4haUDk=; b=QokCmebXJL9gPg9ceXoqpdo0V1aqWk9F2t2CHdHbvNxCQ7vcfM8pJ4Yyn6L2G5Aff9 SuFrTqqa0UVdLB7mv75ZX4QGxHa25wYvQEDVDgw9AX7NNpqb6UxJnfGEes9QLw06j+t+ EOw2bPpYxxpdRZAIo/SGfRKfO4UfnSOCVZEIFnb303y/n0eJupQSlZHdlaFScd4LDQRq /zVjxH/7vSb7yrliyCJ7ZlC1ENFX4BoqQ6us8Atbf7KhB5TdvNBg2bbSm/MQ0DsJA26b 7T+SD6lJErsVRTpXdOpJgp098tWODL/HaPkqaoqGP39yHZzJQyj9DdIQHJ47vl7AR1y4 BoOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702716; x=1726307516; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sb6ublpVQeMqm/xJmXIMWH4mKmD9RVCNAJxcu4haUDk=; b=KJljTY3v1l3kxTcaDQklh0VAwjsiFsk8DdmG+NL0/ZSSrvL3jUHzRg0xBwJn1IfE8E +D7g+IuhjGsb6hp2L3xsHnh5RURMo6UC9mdcChGRJXs+vJyIfXnYR5vuR/mzDLFcuJU1 Ebjfdhi4DhgxzJsw6KhkShbGsQgK6W9IA+7p5EIJaYEwsjSyd67JCxRHbnEReiLdK4qs Oho4AM1IX7SXpAFbjvXpgf/MQS5I9D4qRaUyWwqBa1+tq6Gsj0NGE4P++W50GbpKHToc aDqpKGPBkQiaAGv+1V/rVUqcvC0Tdf56/01cc8bLpNrcd6eZW6u0zt5X1FVHGVv8TzHs urlw== X-Gm-Message-State: AOJu0Yx2gDdv7IWJPCAyv1zcRALlNE8ncAzMD0JGO0LpJiD+8WtJIDFP RwK0ImQf+vrwKv6j/yP+f9buFvzqkjABRLWNvFIIwq8tbZayzbN3r6L2gpYARLRpGlk+ROX/jFk y X-Google-Smtp-Source: AGHT+IFfqDPdAzo4xIUpMDm2jfvp42YkeQYTCSfhkvyDm1WaKHH4kTdk8hmv+ZBQXO6Y7nHx3aVKmQ== X-Received: by 2002:a5d:4387:0:b0:374:c160:269e with SMTP id ffacd0b85a97d-378922a6d58mr1562615f8f.22.1725702715442; Sat, 07 Sep 2024 02:51:55 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:54 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:34 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-core-async): New variable. --- gnu/packages/clojure.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index f11b75140b..4000c075ad 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -318,6 +318,40 @@ (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.6.681") + (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 + "1j9yz14hy2qs8g3flsqkn1sx9c0qlr5mmpy6ab1zml9yhbw5arzg")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '() + #:phases + (modify-phases %standard-phases + ;; Remove ClojureScript code, we are only supporting Clojure for now. + (add-after 'unpack 'delete-cljs + (lambda _ + (delete-file-recursively "src/main/clojure/cljs") + (delete-file-recursively "src/test/cljs")))))) + (propagated-inputs (list clojure-tools-analyzer-jvm)) + (synopsis "Facilities for async programming and communication in Clojure") + (description "The core.async library adds support for asynchronous +programming using channels to Clojure. It provides facilities for independent +threads of activity, communicating via queue-like channels inspired by Hoareā€™s +work on Communicating Sequential Processes (CSP).") + (license license:epl1.0))) + (define-public clojure-core-cache (package (name "clojure-core-cache")