From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mHw6M2RC0mRqAAEASxT56A (envelope-from ) for ; Tue, 08 Aug 2023 15:25:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MFv2MmRC0mRyIwAAauVa8A (envelope-from ) for ; Tue, 08 Aug 2023 15:25:56 +0200 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 7864E5DFFE for ; Tue, 8 Aug 2023 15:25:56 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=ul3h7hOc; 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=uvy.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691501156; 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=yuE9H/P8kE+uQBOvHcHt3IfN7I5odER8XkFo6NJH5J8=; b=nyE2DpCs89eAJwc2kYowQ2lAc5nuxTT9AfTDAOnHuCLeeUeP+WMe8aNVJ3FBtm403zE3HE FgQ7R/3+n8o6XnT/gqAbaq+0CRKUjsC6zk9QXembtKa38dTJQDX74vLscI0h0amfFNm6aU BtUYybTEK/vtykOwB3i9iNwgeb6O5qRqof/6kdMlVEXB+eRU56X0JkNT0T9TQ5CcqdUVCe WB7kCLRZ7AYPYVQGeOjBuowqasmB24wFUFEJ9BHh1Ewi7xdewfhf8bH2y1k6d/j9ZMmFs9 y4W3opCf20aTZ4tL6NUbT+3hUXGQWGVCjAwrlUD/lZ7wtFuRR2qgzpUNsE86uw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=ul3h7hOc; 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=uvy.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691501156; a=rsa-sha256; cv=none; b=AxooGACdWVT0tNk8DRjgB8fZR4STXCTCe31d+ki8zHQyWwNBds28Tq1kFAnvMD+6gIstBA kTAENnZTCHuDfpoxGBVGuNm0zj2QtZQJJzH2qWsJG9F5QV8dLACTzWIRfjzVDAkmXSX9RE hQh8KB5NnMGU1ZmnRX1lFtM5SxCHIhuJ0M+xSkNx2FKXUl8dvc1F/Kd5fWJgSsx5EwhudU hC/JLJEM/JOhW4csqsVNk3S07ONNsWTIqldR8av9v+7s+Fwi1A7RSXhXdjFOXHc+8JzdVB 38eDWj+KQ/bVqgDjv2x85ctxoAQybPI5BvMQn3hOchXwWG/Sn/WTyJIKfbelag== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTMhy-000261-BW; Tue, 08 Aug 2023 09:25:10 -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 1qTMht-00022T-4A for guix-patches@gnu.org; Tue, 08 Aug 2023 09:25:06 -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 1qTMhs-0000Za-RJ for guix-patches@gnu.org; Tue, 08 Aug 2023 09:25:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTMhs-0002oJ-N7; Tue, 08 Aug 2023 09:25:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64209] [PATCH v2 11/14] gnu: Add ocaml-fiber. Resent-From: Benjamin Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Tue, 08 Aug 2023 13:25:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64209 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64209@debbugs.gnu.org Cc: Benjamin , Julien Lepiller , pukkamustard X-Debbugs-Original-Xcc: Julien Lepiller , pukkamustard Received: via spool by 64209-submit@debbugs.gnu.org id=B64209.169150105010652 (code B ref 64209); Tue, 08 Aug 2023 13:25:04 +0000 Received: (at 64209) by debbugs.gnu.org; 8 Aug 2023 13:24:10 +0000 Received: from localhost ([127.0.0.1]:35622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTMh0-0002le-EB for submit@debbugs.gnu.org; Tue, 08 Aug 2023 09:24:10 -0400 Received: from mail.uvy.fr ([146.59.197.40]:33142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTMgu-0002iL-Lo for 64209@debbugs.gnu.org; Tue, 08 Aug 2023 09:24:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uvy.fr; s=202105; t=1691501033; bh=AjyXw9mfRX8Ljc3ZL18x0tvDQrZW0ct2pBXcuC8Fhzs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ul3h7hOcVsjH+Uc/VCt5hepKwtZhx9HP31m5kHhGCG3iZFDZJKCzlgmVj8qFiB8zS m59F6l7dPdtVMHHb4/ITARjT5WffenEDWEG+EAnqx54/wuWC4l49RtM0seVgeWk2ne 2CZNY2JlSXdtPgh4vupFmzTRiUVfzvg0SSve/nroIcbx6IGWb0D1DXekJLeQtMgWKQ wE0d55gw7+Ra8t6OGu0UVzyvDX40tCYy9PBn5wLx+nOlP06Xs/oQ8dkCQFBT6ZUGLs iInO2L1h9mOfH9QKjCDkHrydBE3rWxDL7ZzZkGVvMjiQnDVg7rdSn6v9GnGlkwHRRn VBgp3pDCyLBzg== From: Benjamin Date: Tue, 8 Aug 2023 15:23:08 +0200 Message-ID: <0ea26472bc15c7a50838ef86dd4e1e1431bf4b41.1691500834.git.benjamin@uvy.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 7864E5DFFE X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: 4.33 X-Migadu-Spam-Score: 4.33 X-TUID: HgOjVgMD296/ * gnu/packages/ocaml.scm (ocaml-fiber): New variable. --- gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index c0cb55ac32..1958e19028 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -9786,6 +9786,28 @@ (define-public ocaml-stdune "This library is dune standard library. It offers no backwards compatibility guarantees. You should use it at your own risk."))) +(define-public ocaml-fiber + (package + (inherit dune) + (name "ocaml-fiber") + (build-system dune-build-system) + (arguments + '(#:package "fiber" + #:tests? #f + #:phases (modify-phases %standard-phases + (add-before 'build 'remove-vendor + (lambda _ + (delete-file-recursively "vendor/csexp") + (delete-file-recursively "vendor/pp")))))) + (propagated-inputs (list ocaml-stdune ocaml-dyn ocaml-odoc)) + (properties '()) + (synopsis "Structured concurrency library") + (description + "This library implements structured concurrency : + https://en.wikipedia.org/wiki/Structured_concurrency + It offers no backwards compatibility guarantees. Use at your own +risk."))) + (define-public ocaml-xdg (package (inherit dune) -- 2.41.0