From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2D3mEv5xnGM58AAAbAwnHQ (envelope-from ) for ; Fri, 16 Dec 2022 14:26:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MMkDEv5xnGPGPgEAG6o9tA (envelope-from ) for ; Fri, 16 Dec 2022 14:26:22 +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 DC7F83EA36 for ; Fri, 16 Dec 2022 14:26:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Aj9-0005wN-U4; Fri, 16 Dec 2022 08:26:15 -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 1p6Aj7-0005sk-DM for guix-patches@gnu.org; Fri, 16 Dec 2022 08:26:13 -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 1p6Aj7-0007CZ-4E for guix-patches@gnu.org; Fri, 16 Dec 2022 08:26:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6Aj7-00036v-0Z for guix-patches@gnu.org; Fri, 16 Dec 2022 08:26:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60120] [PATCH 20/28] gnu: Add ocaml5.0-eio. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Dec 2022 13:26:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60120 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60120@debbugs.gnu.org Cc: pukkamustard Received: via spool by 60120-submit@debbugs.gnu.org id=B60120.167119716911894 (code B ref 60120); Fri, 16 Dec 2022 13:26:12 +0000 Received: (at 60120) by debbugs.gnu.org; 16 Dec 2022 13:26:09 +0000 Received: from localhost ([127.0.0.1]:49326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6Aj2-00035W-LA for submit@debbugs.gnu.org; Fri, 16 Dec 2022 08:26:09 -0500 Received: from mout01.posteo.de ([185.67.36.65]:51153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6Aiq-00030x-8P for 60120@debbugs.gnu.org; Fri, 16 Dec 2022 08:25:56 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E6C9D240028 for <60120@debbugs.gnu.org>; Fri, 16 Dec 2022 14:25:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671197155; bh=+Fwo1wEQ5etj0S+XmjiM/3mzAlvV0F2pta0RoKuiJNo=; h=From:To:Cc:Subject:Date:From; b=RUjFnP1xkbfcDmqbdvr44S+M7ipeYKA+a1yWgmy5zb9FLvy8wKeg1nKf0C/7XJwt1 Xodoe4OfKdCQ36B722cFmKtLutD/fDJIkb2+VQG54cWix2SxDOCh8blchnHQJdD8Np 1JrV8DXEODo19V1N43MTH7p7BkPm4jGzH08e2Tq8BlX1a4KU1pOpwMmK4GRqZXRYWo ludwzU/bb+bq/5ygAb7M6Xii+T0/qTA/OWOnscXQKMbkx1KJde2xDyNfmRiZMAr8vu JpbZlf6FvTWbhln7VMkPW+SIPuCEvgpQCNSKqfErVPj4WcgcYFnCdpEuoAsh9hj9J3 yXmZhSJwfF+wg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NYVGq3h6tz6tmc; Fri, 16 Dec 2022 14:25:55 +0100 (CET) From: pukkamustard Date: Fri, 16 Dec 2022 13:25:19 +0000 Message-Id: <20221216132527.2539-20-pukkamustard@posteo.net> In-Reply-To: <20221216132527.2539-1-pukkamustard@posteo.net> References: <20221216132224.2229-1-pukkamustard@posteo.net> <20221216132527.2539-1-pukkamustard@posteo.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: 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=1671197181; 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=vtrnhTd0/HIS2uLUlkBnD9Jqe+sjtfWAsmARZUHuSpE=; b=oVTEhxSpgywbXJOuMOJtxqqFeUIQ0fYQW58KFiPqlty6UK0UKJhVXESkjOoVs4kURIh46v N15mxLwunutUaCqvRmPaoaARr8ISxJlnM1ReYTtR8nwGsHprvM7hauU0buhDdlI19PVEvW YQol73N4Zs+Yian5vlaWaY1wh9ZRtod6pKLq6XbU7xoqAHwP8nROp1hBK0gEA23VfFQF8B KKWsonWxSssPu7RJe0TzfPeZ07WIDEcImzhE4Lr92xIb1DmVafb02rBmSGCZriZ8Q+iMzo 7BRuhsND5hFh/VY221stPIwuOGWOguNPcU6wPodzRJaHbd9Bk0lpAKG+1OUx2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RUjFnP1x; 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 (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671197181; a=rsa-sha256; cv=none; b=fndlDhz0iSzrZ6c7G2SHe4JxK7dIlGBHzxBawFXLOdCjHsrqGfUTW9/6Yf/MSuy0vepb4r CUgZP3buELIPEF5hKC4N+jYQmicFhqNqD4IwVuprWoDryiBRf0a9gtnEwFBDKttvecBnk4 WfObb6Re3kiHb4nxFEkS6kbB0lBR/E0MqMjPf/0eBLar76pNiKgHJuqoCA3GO6Rxc70JqD 32Ndy4tEcYF6JkGCB7NMtBgKV6sJLVIRgIw4JTnQB5MIrSrCioDAew/3nxVEoNur6kHch+ YGojYBlbyKT3enUwhW4iQ4HeAVmC0Ps6L3RRx5hggs7umxLdJUpRt1/cAHzqgQ== X-Migadu-Spam-Score: -1.37 X-Spam-Score: -1.37 X-Migadu-Queue-Id: DC7F83EA36 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RUjFnP1x; 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 (strict)" header.from=posteo.net (policy=none) X-TUID: ufxKE5wvMkER * gnu/packages/ocaml.scm (ocaml5.0-eio): New variable. --- gnu/packages/ocaml.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 148502f26f..02173421d9 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2793,6 +2793,42 @@ (define-public ocaml-hmap to which allows to add and lookup bindings in a type safe manner. ") (license license:isc))) +(define ocaml-eio + (package + (name "ocaml-eio") + (version "0.7") + (home-page "https://github.com/ocaml-multicore/eio") + (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 + "118raxdwv6pn5b152ffdhmwdi0l4wlwflcj2nmckfmm7v1z2fq4s")))) + (build-system dune-build-system) + (arguments `(#:package "eio" + #:test-target ".")) + (propagated-inputs (list ocaml-bigstringaf + ocaml-cstruct + ocaml-lwt + ocaml-lwt-dllist + ocaml-logs + ocaml-optint + ocaml-psq + ocaml-fmt + ocaml-hmap + ocaml-mtime + ocaml-odoc)) + (native-inputs (list ocaml-astring ocaml-crowbar ocaml-alcotest)) + (synopsis "Effect-based direct-style IO API for OCaml") + (description "An effect-based IO API for multicore OCaml with fibers.") + (license license:isc))) + +(define-public ocaml5.0-eio + (package-with-ocaml5.0 ocaml-eio)) + (define-public ocaml-lwt (package (name "ocaml-lwt") -- 2.38.1