From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YPJLFmlynGN86wAAbAwnHQ (envelope-from ) for ; Fri, 16 Dec 2022 14:28:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0ERXFmlynGO1uAAAauVa8A (envelope-from ) for ; Fri, 16 Dec 2022 14:28:09 +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 24A831CF85 for ; Fri, 16 Dec 2022 14:28:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Ajx-0006S7-8z; Fri, 16 Dec 2022 08:27:05 -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 1p6Ajv-0006P8-Bi for guix-patches@gnu.org; Fri, 16 Dec 2022 08:27:03 -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 1p6Aju-0007VK-Rt for guix-patches@gnu.org; Fri, 16 Dec 2022 08:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6Aju-00039O-MR for guix-patches@gnu.org; Fri, 16 Dec 2022 08:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60120] [PATCH 22/28] gnu: Add ocaml-uring. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Dec 2022 13:27:02 +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.167119719512021 (code B ref 60120); Fri, 16 Dec 2022 13:27:02 +0000 Received: (at 60120) by debbugs.gnu.org; 16 Dec 2022 13:26:35 +0000 Received: from localhost ([127.0.0.1]:49348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6AjS-00037j-Kd for submit@debbugs.gnu.org; Fri, 16 Dec 2022 08:26:34 -0500 Received: from mout02.posteo.de ([185.67.36.66]:49179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6Aix-00032U-0i for 60120@debbugs.gnu.org; Fri, 16 Dec 2022 08:26:03 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 81080240101 for <60120@debbugs.gnu.org>; Fri, 16 Dec 2022 14:25:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671197157; bh=5l4cpP9/9V9gmaj+1vlQAob8lKr9XkNuR9FxiJJ20bw=; h=From:To:Cc:Subject:Date:From; b=sOrmLZ4NokYBJdGM9G09lNmEq/eolKPju3gOSiTYLTheMWnRcqyYajCVHxQqQsYpo 9s3SklIQCrvwrA62wNw3oLtuiTdw6GU1eChQ5MMCIby/ynFLrNuv0yMa4wsm8UO8Iu NdQVKYS2JbuXor5hNI1lJ7k2Q92wbH1hN87AcnyN49mPInvw3Pfp2HPhfQA5SJnjVT 9W9By/flEWsLcCWGa+FTpSXGA9m/+imoR8eTuQRVgQVnIrprCsU+JFHL98DBD6HVrM yjLreJID6heOm0wyJwuDO0k3Id9Zyh8VWNy/lvJvqv1DawJoUKfQdIY4BI1bIB+864 Nq8eu+f2wjYtA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NYVGs0fJpz6tn4; Fri, 16 Dec 2022 14:25:57 +0100 (CET) From: pukkamustard Date: Fri, 16 Dec 2022 13:25:21 +0000 Message-Id: <20221216132527.2539-22-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-Seal: i=1; s=key1; d=yhetil.org; t=1671197289; a=rsa-sha256; cv=none; b=jbQlSLPLgEe1G8BaIcC6gWaT8uVTQUO4JmLf0URWxJvz+OKNttrlSe5y409WF9SYqcfgTa 5FL9jSBiBOd8+hgo+leQanbx9S9QVx9+S1rcwBolm7aODe+0XFqnv9q1Zes7DIDD0AMHY3 SNAHMLtjT2MgNN445rkSwnjWnuPqEyspxLiqgEKNYe4NKQwxI3GhUhtD/Me+eZFiS3jHg3 iCXTW0SOwhGx7LDXgYKorAwa9TgZmnJLs4PHbiZYqaZ3RPgJJsj5X9eVA3auT63dBLlZEW cNUFtZoZz+1uE+9Ng8D3zFeZIFxYmQIjUJzftpmHy3LCYmxULr/C+tI8Ipxwrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=sOrmLZ4N; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671197289; 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=RLvtDXX2RSt7LQd/24dXX0IwotjTnRDJh6nqbK5rjaE=; b=FIq1eLiLR1XFicq2v14hlkZVmeese+v22HHldkrD5X4J2zk0Axo2rbg6wEmCQe1wMAqGao IVFm49m63GmhEyeFOEFukLeLDD10FTzh1JQ7dA0F7NYznh4F3RO8EmCH/j037GV3UbH50J GYu8uL5HrMEsZG5yb249Moi6IQMswmRe8fz9MKP4xTUxokCdhn/uKBnst+8U7RvlWRLR/Y sMQtIRf2gOP7MXHYPTFLx8YJ48bHIWSYnD7zHiLQexKy09yg1n0/otf2dPQ+z2h6NMC7Dk nbl8K2JvsZen25CBn22OCadl2mCwcSOTOIQdNDujhE7bSZUWq+zFieb6pY2XUg== X-Migadu-Spam-Score: 7.33 X-Spam-Score: 7.33 X-Migadu-Queue-Id: 24A831CF85 X-Migadu-Spam: Yes X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=sOrmLZ4N; 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-Migadu-Scanner: scn1.migadu.com X-TUID: y4BBZ0V1uId2 * gnu/packages/ocaml.scm (ocaml-uring): New variable. --- gnu/packages/ocaml.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index afad994d8d..d413d54f63 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2842,6 +2842,37 @@ (define ocaml-eio-luv (define-public ocaml5.0-eio-luv (package-with-ocaml5.0 ocaml-eio-luv)) +(define-public ocaml-uring + (package + (name "ocaml-uring") + (version "0.4") + (home-page "https://github.com/ocaml-multicore/ocaml-uring") + (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 + "0k70y7nb2wrk2yql0pwnrhsp1x7k9ld4gd8iihbv6r34kcm3a5m1")))) + (build-system dune-build-system) + (arguments `(#:test-target ".")) + (propagated-inputs + (list ocaml-cstruct + ocaml-fmt + ocaml-optint)) + (native-inputs + (list ocaml-lwt + ocaml-bechamel + ocaml-logs + ocaml-cmdliner + ocaml-mdx)) + (synopsis "OCaml bindings for Linux io_uring") + (description "OCaml bindings to the Linux io_uring kernel IO interfaces.") + (license + (list license:isc license:expat)))) + (define-public ocaml-lwt (package (name "ocaml-lwt") -- 2.38.1