From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6D8kIghiu2PfOgEAbAwnHQ (envelope-from ) for ; Mon, 09 Jan 2023 01:38:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IAw5Ighiu2MaUQAA9RJhRA (envelope-from ) for ; Mon, 09 Jan 2023 01:38:32 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 62E233D28 for ; Mon, 9 Jan 2023 01:38:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEgAB-0006Bg-Lk; Sun, 08 Jan 2023 19:37:19 -0500 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 1pEgA2-0005yL-3z for guix-patches@gnu.org; Sun, 08 Jan 2023 19:37:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEgA1-0004US-RG for guix-patches@gnu.org; Sun, 08 Jan 2023 19:37:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEgA1-0001v7-Hr for guix-patches@gnu.org; Sun, 08 Jan 2023 19:37:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH 31/39] gnu: Add ocaml-async. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Jan 2023 00:37:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60673 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60673@debbugs.gnu.org Cc: raingloom X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16732246027145 (code B ref -1); Mon, 09 Jan 2023 00:37:09 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jan 2023 00:36:42 +0000 Received: from localhost ([127.0.0.1]:35178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEg9Z-0001r3-UX for submit@debbugs.gnu.org; Sun, 08 Jan 2023 19:36:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:48260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEg9T-0001pp-UN for submit@debbugs.gnu.org; Sun, 08 Jan 2023 19:36:39 -0500 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 1pEg9T-0005at-PZ for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36:35 -0500 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEg9S-0004AM-2S for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36:35 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4Nqw3q11sgz9tKP for ; Mon, 9 Jan 2023 00:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1673224583; bh=JO5rXaCKja6sk/Fda+2I8NXcQXVmSNjnVw6hN59sZKQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bU+Zd4EGstmjYwnpFQ//oJL0Vg0JKzIFPl/PGBWglmnmGMwLBHxSE789zXSpGYG1b pNF3/SqGOJ3UCKTyej9wj3ZCV02EpEq7VjnQPYPLa7lG9L+2GT5BebOAjSy1/JxbFe RDA3pCisrnS+QGrIuagWXfXdifPBgO1UiT2Ij6c8= X-Riseup-User-ID: 1E72624284488D70F429BB3C45710E2E45DA2E023BEF2C71675EC4F47416C852 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4Nqw3p25LFz5vXJ; Mon, 9 Jan 2023 00:36:22 +0000 (UTC) From: Csepp Date: Mon, 9 Jan 2023 01:35:21 +0100 Message-Id: <20230109003529.23375-31-raingloom@riseup.net> In-Reply-To: <20230109003529.23375-1-raingloom@riseup.net> References: <20230109003529.23375-1-raingloom@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673224712; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=94fHTzYiNpOm35YLmhPoZnZ6UbQ56/N7O3FZ5S4e1Jk=; b=CoWspcTZzhvC1R+0hZ8nB3r2bkaaDCeYVsELwE9gEUIrd1c+nRY+nSmXHz5O6Au4YNZNT6 /YGyPUEiy4FvtMTBd75Kq4RnRpH1xxCv4riBPVt6009R/+nouzsQ4JFvTCJzj1/LAyzaZY b+G1mtGFXbuSwAHUk1EtV4z5THp/G6vH+mIm3RIbYG7iVupEwbte+h9nyuZdeJHfDaI9Iz 3e3n57BR5Zme9/Ylt6c9gwTSP1KQ2qZKJ+L+HFYu2Y4Hu8ptdpOZaQMmKEOPYk8FgppySw F2Q2kcWZAWhkL1yWvDDTgWx9e6wH1/5JkxkuiXwSpJSE3labuN0oKVup1WcV6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=bU+Zd4EG; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673224712; a=rsa-sha256; cv=none; b=akKCC1cFO0AwgSRWuqAG/23USjLkWHjEV4Y2s26W9npf8b2q6RXTsdwZrx2Dur/0jY1fbl eCyiiRJC+kI5XgrebhSEv4eWQUMdwmEdl/f1zM52nTKZPtJowiTm+JcuMd/+PPfC71d2Bq nR2Alj0KsWe1bIDUEHgs7s79SXqepsZOQNQRSeD7bfdJ1snU5drPOIbh0aIcpIS8kGcXXU RxaD4ZF7UYhzMC9N/qC7dDPqwF/5CmyHi0T00vUgsSRfbca8CPIjFZqlJzi8whhxHi86Ya t3apSGQcERj18ubAupMri+3pHX98JiQaaAZAAXPGK/5gbnOynbGoMHBixuQvOg== X-Spam: Yes X-Migadu-Queue-Id: 62E233D28 X-Migadu-Spam: Yes X-Spam-Score: 7.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=bU+Zd4EG; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 7.13 X-TUID: BE+67bq79p4c From: raingloom * gnu/packages/ocaml.scm (ocaml-async): New variable. --- gnu/packages/ocaml.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index d2c41a2fdf..c94beb408c 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8457,6 +8457,38 @@ (define-public ocaml-async-rpc-kernel JavaScript.") (license license:expat))) +(define-public ocaml-async + (package + (name "ocaml-async") + (version "0.15.0") + (source (origin + (method url-fetch) + (uri + "https://ocaml.janestreet.com/ocaml-core/v0.15/files/async-v0.15.0.tar.gz") + (sha256 + (base32 + "1afnls0m4izzp933h606k0vj43krfsy4ypnybsidq7pd9cfb4fqd")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-async-kernel + ocaml-async-rpc-kernel + ocaml-async-unix + ocaml-core + ocaml-core-kernel + ocaml-core-unix + ocaml-ppx-jane + ocaml-ppx-log + ocaml-textutils)) + ;; TODO one test dependency is deprecated, the other is nowhere to be found + (arguments '(#:tests? #f)) + ;; (native-inputs (list ocaml-netkit-sockets ocaml-qtest-deprecated)) + (home-page "https://github.com/janestreet/async") + (synopsis "Asynchronous execution library") + (description + "Library for asynchronous programming, i.e., programming where some part +of the program must wait for things that happen at times determined by some +external entity (like a human or another program).") + (license license:expat))) + (define-public ocaml-textutils-kernel (package (name "ocaml-textutils-kernel") -- 2.38.1