From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KH4tMVRX7WNZKAAAbAwnHQ (envelope-from ) for ; Wed, 15 Feb 2023 23:06:12 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0Cl1MVRX7WOHaAEAauVa8A (envelope-from ) for ; Wed, 15 Feb 2023 23:06:12 +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 aspmx2.migadu.com (Postfix) with ESMTPS id D49CC380C for ; Wed, 15 Feb 2023 23:04:44 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b="remk/Y1f"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx2.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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676498684; 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=S+b13v5lsr57lKgPILbiptWe1wZ8E8z7iwqZ37YprhI=; b=MLtbNL2F9LJeG6v0VVDdv339wvRfDqKE6MprV4O0fJudk4BSzDGXtjvRGOhGkOi44FCLWv bUtZENkjFb1aK6cwJzRMd+vhXTVaS8QAtaCRopLf3BzbIj1s2FA/M8fqP3VDnChE/ZY9p/ CPcY7p38nULp3d/rpVY2mAYwGFiHsjuabvdVaONRRyAxQtHwCuXOfWn32Sm0svNdolFAOe yoUlCd8KlHzlRInnESsh67C/2Nl8zWrMecTbyAU1GybUQmd0DAFBxIqFVJ9GSR1TX9+jFq t+5MDnLKJZthks1CE7dMUPG1qSgvHvO8AZ+jhiyiYrCnHt9z97l4sxtSCMI5tg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b="remk/Y1f"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx2.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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676498684; a=rsa-sha256; cv=none; b=VJZ7nqGfMiBdDjc9ojRGx1sWsy75TgGX2oL5HB6j8beRUR4FsdxcFdsM6fFf38N5JUQ287 rva4NWynQQpJJ9/Px0z6AQ37RKpdk9wCEz3vL1Ww6Yl0C5A/VH/PHw8xgF/y0/6VKyk9C+ ZwFUgasxlHXMTiVS1aCBA9nZBvnv46TGkUK/Hf3ZdR3ZTA/SQe/npCK8E5Yx+J1UTTf77Y Ta7IvP4vlNL3QfvrbHx4Ul4PivcBq01ormjK9JdDAi9ic2O+hjcVXurIO2rtlTznndW2GF MSzdRYwvwFGLZlUZmQioc6G901JLnkGTJG49ZSmd7fm60tGySbiek+7lPrJpXg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr2-00022m-RQ; Wed, 15 Feb 2023 17:02:20 -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 1pSPqs-0001s9-Ss for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -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 1pSPqs-0002Vh-Hi for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqs-00071N-CE for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 31/39] gnu: Add ocaml-async. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:10 +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: moreinfo patch To: 60673@debbugs.gnu.org Cc: raingloom Received: via spool by 60673-submit@debbugs.gnu.org id=B60673.167649851826757 (code B ref 60673); Wed, 15 Feb 2023 22:02:10 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:58 +0000 Received: from localhost ([127.0.0.1]:34281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqf-0006xO-Ie for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:57 -0500 Received: from mx1.riseup.net ([198.252.153.129]:48888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPq1-0006su-Iy for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:17 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (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 mx1.riseup.net (Postfix) with ESMTPS id 4PHBqK2sRVzDqQy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498477; bh=Y9rYOw22H6pwf181YpnQIoX2k31kISYvvRDpOMOZEbg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=remk/Y1fIeRj0oueP0J4j1OIlL682zdYNjFBCUds9rrBtTcT7G6yjnsS18ItF+rqw ZwpOBCXagLzUq1G/hiMEhZsWYoUVbE3/tJRLs9nmlnZ5/es65x5SOAEuvivMCqts9H hrtGwzmd81jBNRvW1IdjhzjmdR17slLuvKUQ0LkA= X-Riseup-User-ID: E3A620EF1E7978CFF27947F1B04D2237A890B6F25FDBD385105A32612531F886 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqJ3sd3z1y8Z; Wed, 15 Feb 2023 22:01:16 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:20 +0100 Message-Id: <20230215220028.18575-32-raingloom@riseup.net> In-Reply-To: <20230215220028.18575-1-raingloom@riseup.net> References: <20230215220028.18575-1-raingloom@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: X-Migadu-Queue-Id: D49CC380C X-Spam-Score: 6.58 X-Migadu-Spam-Score: 6.58 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: B8u1GXdLnVgN From: raingloom * gnu/packages/ocaml.scm (ocaml-async): New variable. --- gnu/packages/ocaml.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index cda38dc381..852c9f6f6f 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8492,6 +8492,41 @@ (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 git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/async") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0pykmnsil754jsnr8gss91ykyjvivngx4ii0ih3nsg1x2jl9xmy2")))) + (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.39.1