From patchwork Mon Aug 5 05:16:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 66741 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 017B427BBE9; Mon, 5 Aug 2024 06:19:09 +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 8B12027BBEA for ; Mon, 5 Aug 2024 06:19:06 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saq7Y-00058K-Ed; Mon, 05 Aug 2024 01:19:00 -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 1saq7K-00055N-38 for guix-patches@gnu.org; Mon, 05 Aug 2024 01:18:47 -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 1saq7I-0000mK-2t for guix-patches@gnu.org; Mon, 05 Aug 2024 01:18:45 -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=slM8l0mMeNM9plYGQNJvpy/AeP1u2MhCFheYT9QLvMU=; b=Ajqs/XhG5ns4EcyKw/ef5uZBY+Dd1hLVAGVL85gXako+sMLMWaPy1nOVUToStpDG8fYhVmVfX9PBrUHngsboDQBlLuTnqaURgoS2scxKP/tkpybZrBiQdaDemlKHRVtbQquD9KXHJod5reABkGd0KcXOYuqkNvN/aa5iowSAjLVD6dYLmJE390wBYN2yIkSlaKxn5hyZgJcKSa6ax4apsmJKlzD5tYrBVSqI1cxj7iCOIi3aBYNYXRqA4Ps76RTD0G3OK03RPCheFZ4YYbg+xJkbELp7EkfUm6bG+GSOVOPPKRX3SfwpksTmtAQQ4YguDfxNz9oQVkRQ420bJtVZKw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saq7e-0005UU-0a for guix-patches@gnu.org; Mon, 05 Aug 2024 01:19:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH 09/10] gnu: Add clojure-core-async. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Aug 2024 05:19: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 , andrew@trop.in Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.172283512520961 (code B ref 72463); Mon, 05 Aug 2024 05:19:05 +0000 Received: (at 72463) by debbugs.gnu.org; 5 Aug 2024 05:18:45 +0000 Received: from localhost ([127.0.0.1]:57754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saq7I-0005Rt-Gr for submit@debbugs.gnu.org; Mon, 05 Aug 2024 01:18:44 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:57507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saq7G-0005QL-7o for 72463@debbugs.gnu.org; Mon, 05 Aug 2024 01:18:42 -0400 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4281faefea9so56718975e9.2 for <72463@debbugs.gnu.org>; Sun, 04 Aug 2024 22:18:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1722835033; x=1723439833; 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=slM8l0mMeNM9plYGQNJvpy/AeP1u2MhCFheYT9QLvMU=; b=vPw1sKY0ro1dPSTlYJbjq3qtMUeZPUsXNjLEtm6Uu1CHbBqIK9Ms8E3laZDAQQD1BI RtfocWGKURb8K9KnnDNtS/qt7fHN6cfnSMxV+OovTKFUKjfY9NSmZBNyuB3/IjgjuF7P pxM6aLUhtyYTlxzPH8+t3MIKNM0zY2T32Z9rtzSN8bmsX8wZTHKP2RlO7tM9V3/e2Y0c 2CjRXrmM4l/iHmFjFtne4cn+kwTmRXO9Qiy+vxC2uXI6VfLB4yoAWGv4SuvtziS39c3y pWJKr7ZEquwze6M8eFjk+CG39u+z1tOQe341zIslLeZFtdCOstKGJ8MpAPbdY190Z2nZ 6sbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722835033; x=1723439833; 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=slM8l0mMeNM9plYGQNJvpy/AeP1u2MhCFheYT9QLvMU=; b=kIU3fy02fl/mxbchosc77P0eF9e0MQhrbdV1RshovpiG3kNHORxpZKRnIWwXBSIMQ4 +lL7tVFWp5eeL6GRSbvm2esOxZTEb60WxKvgHMh0Y65Mgq4mflNvuToWsgkJVjcRpaza 35b5VYcOwK4kM/R5bmrgHm5N+GtyLu7Z7/EicJ51bZ48TM/OKheQj8eXdusF4oCDFLDe IhHsiiiwNsiw2R6tDRCBNPxCKNMUFedHNCR+PlWqTWOfyHS11P1MSS86s+9N6YRCBdHj f4nKqP9yBQomOKNd2+D10JwGMes2eeQ80PVw9Li5t8etiAWiKrf0G7Pv7gjM5uQrKR/5 3aqg== X-Gm-Message-State: AOJu0YyleHuXtPakqMsuxnVxAigvXgsXWWS/+/DPcPDDdt7mOFzFraqV jZNsz75HfczqLYnHSeIhXjS2exFCC8yRItYQKL8XpNMxtejGjQpC1MYa/PVmHuX4kGV7yNJWQNW 7 X-Google-Smtp-Source: AGHT+IFySXLESh5Ji2AKu9eaY1vEp2izK+i6J0wq1nEH6KnnGGSxntZsixYZWy8SXAtkF/Fi77X7LQ== X-Received: by 2002:adf:fb4f:0:b0:367:94b8:1df1 with SMTP id ffacd0b85a97d-36bbc1d2d73mr5956622f8f.55.1722835033590; Sun, 04 Aug 2024 22:17:13 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:924:598d:eaec:5b29:b4bd:5944]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbd0261c2sm8556021f8f.57.2024.08.04.22.17.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 22:17:12 -0700 (PDT) From: Roman Scherer Date: Mon, 5 Aug 2024 07:16:53 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: 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 2c00f637ff..d09af801d0 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")