From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KGwrHRRRTmUDZQEAauVa8A:P1 (envelope-from ) for ; Fri, 10 Nov 2023 16:49:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KGwrHRRRTmUDZQEAauVa8A (envelope-from ) for ; Fri, 10 Nov 2023 16:49:40 +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 576134736E for ; Fri, 10 Nov 2023 16:49:40 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=xjvR1quJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699631380; a=rsa-sha256; cv=none; b=KyXIna1g3YmCEUU0rA2QEsxgTWJLsHUssmcqP0Ei/WBKsVKTI5LorzCrm/rNZc1CKBRyc7 hChx8dsCT9vuxCepn0X+hWbXUU2TAZMEJ5VV7XkfwSNH/t2YFZJOmbaWhs7j8xeo6B69Dg 8OaI8pZN/XGWJ4HShi9aMAWqj70a4VKBhgJ13pVbtjK/kMakprHTcw75PXI1tsUyEjTT69 BMfAjhE7S9ZcAwvSji9yYaRbNjVyQQDggF3fubQbvJoFmen0KIUgI+e5PamZ0jEYC1BQFy rGNbz5/VIa2XIdL8sNQV1mjGfCQkYk6EiPNlCUoEHoNT4YEsrnGpn7jxpMVOTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699631380; 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=xum2u1cIMWK5g4uQnUKmaXzpLaLIy0sXPvuMzT9z764=; b=NepGuF8hbwKtC8th1SFBRdqS6CypmY4gOh2dH6cz7xa/I1Cy1wz/+WukHi0D6G6q8N3fqb iNWIfakTauQ9OJz0WYo+OaZV9UAAGvf9l4dapegGlqJq0KmyrsFVsMp3n39wtVbYBRO8Wp hEaHEv2yH1rrQf3UvUsJJlWn47/FjtFKlq0yvlHhw2sNDLQu7BSTGCYdpxBLSD0BXn+Ze2 X8wAooE32HJ06awWGRcJbQkCVsU4WVyYoFqvoyF2YipMMMZdnDMdlQZ0vX2FFBjdWNj2Hx xaVVcjOTAWk9O1c+svRAauS+zNEsP1jgD9ftScVo60+JInWLMqEYn8NjKV4Ysw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=xjvR1quJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none); 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1TkG-0003oO-4p; Fri, 10 Nov 2023 10:48:32 -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 1r1TkA-0003ka-4o for guix-patches@gnu.org; Fri, 10 Nov 2023 10:48:26 -0500 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 1r1Tk9-0006x1-Su for guix-patches@gnu.org; Fri, 10 Nov 2023 10:48:25 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1Tkn-0007pv-Ky; Fri, 10 Nov 2023 10:49:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64209] [PATCH v3 08/14] gnu: Add ocaml-chrome-trace. Resent-From: Benjamin Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Fri, 10 Nov 2023 15:49:05 +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.169963132829890 (code B ref 64209); Fri, 10 Nov 2023 15:49:05 +0000 Received: (at 64209) by debbugs.gnu.org; 10 Nov 2023 15:48:48 +0000 Received: from localhost ([127.0.0.1]:50646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1TkO-0007kz-0s for submit@debbugs.gnu.org; Fri, 10 Nov 2023 10:48:48 -0500 Received: from mail.uvy.fr ([2001:41d0:304:200::4a2]:51356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1TkM-0007jg-LV for 64209@debbugs.gnu.org; Fri, 10 Nov 2023 10:48:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uvy.fr; s=202105; t=1699631278; bh=20jOtVAZq34lMevQ8L8imLAjMWb3x2RnO0hVYBgpirQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=xjvR1quJivaK9ayjas5OPuk2kB9K54T8X0WO3xqMzCOahVEIj/ZNSClWXMfWgBLEk VKOV7dk/3/7a6B3z6D2YSHnqhEYQN/MEXSvsVwjn+1Pe32nKp1BwB/OTPJyuwuXgL4 oovp7ZREJQYplWUGaQznbB15kvza+zGDUGB2gLrXaMpSrUnacvbN29txvSar80rgZH ijCk18j09pCi7pwkaesZGo2b5e1DsH5crbnidcuwk2lvqK4YpHGUUp/imvbqIReqo8 U4wgbEuhoasqGStmwVNr5w3Tl508BCCGXQTx+XnTLA6jbcuf3z9fbN27PI1H7Av23P V73cbCuX4HmUQ== From: Benjamin Date: Fri, 10 Nov 2023 16:46:20 +0100 Message-ID: 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-Scanner: mx11.migadu.com X-Spam-Score: 5.69 X-Migadu-Queue-Id: 576134736E X-Migadu-Spam-Score: 5.69 X-TUID: uhwfbDQmdCOg * gnu/packages/ocaml.scm (ocaml-chrome-trace): New variable. Change-Id: I3c761ff694a0be32171df0fa3f57c6930b9c5438 --- gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index a97ae57b56..76cc995753 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -9691,6 +9691,28 @@ (define-public ocaml-dune-build-info reporting the version from the version control system during development to get an precise reference of when the executable was built."))) +(define-public ocaml-chrome-trace + (package + (inherit dune) + (name "ocaml-chrome-trace") + (build-system dune-build-system) + (arguments + '(#:package "chrome-trace" + #: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-odoc)) + (properties '()) + (synopsis "Chrome trace event generation library for ocaml") + (description + "Output trace data to a file in Chrome's trace_event format. This format is + compatible with chrome trace viewer chrome://tracing. + This library offers no backwards compatibility guarantees.") + (license license:expat))) + (define-public ocaml-dyn (package (inherit dune) -- 2.41.0