From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 IJjxN5lW7WOzdwEAbAwnHQ (envelope-from ) for ; Wed, 15 Feb 2023 23:03:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YLfxN5lW7WNDYQAA9RJhRA (envelope-from ) for ; Wed, 15 Feb 2023 23:03:05 +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 C706C31F89 for ; Wed, 15 Feb 2023 23:03:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr6-00028g-Mr; Wed, 15 Feb 2023 17:02:26 -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 1pSPqp-0001o8-Cx for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:08 -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 1pSPqp-0002SJ-47 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqo-00070Q-VT for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 20/39] gnu: Add ocaml-mirage-logs. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:06 +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.167649851526698 (code B ref 60673); Wed, 15 Feb 2023 22:02:06 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:55 +0000 Received: from localhost ([127.0.0.1]:34265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqc-0006wS-Ol for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:55 -0500 Received: from mx0.riseup.net ([198.252.153.6]:44820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpt-0006rU-Gl for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:09 -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 mx0.riseup.net (Postfix) with ESMTPS id 4PHBq41PPsz9spX for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498464; bh=PVFBut35NjLIL3DtPfBcdD3ji5fbXN0YyFu0jqKygTA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D6UntDDpYXnWsmF86lSQjna20xCCVXGAGm6+3I5iRoAPpMgMJOV7n/Aqj8xi7iLgo EXyoCwkcZBPVq1qrQrsp5CPV4hRpDY+C9+CSCAKGxZKMCDlwdoeVNLnZdM+1xyg4uB ep0RLYl0A948s4MP7q1ZPr0jMUD7r1za9G/Au5+I= X-Riseup-User-ID: E0F791BAC4D13DA2929E733D3596DAAB352770BB7DA5F4E0C091A3BDB1F4AD5A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBq32P5Kz1y8Z; Wed, 15 Feb 2023 22:01:03 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:09 +0100 Message-Id: <20230215220028.18575-21-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: 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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=D6UntDDp; 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=riseup.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676498585; a=rsa-sha256; cv=none; b=Gy6sbSh+ImhDGpoKr2eCa/cE4kojae0mZLJidz4nFt7qlNa2jEZYtaKOnMuyRB4OJ+2r2h aXD0vpFb98gaN6FQ2KqDOsak60xW/12mE4beRPe39/Uq7+OF/YuOhfKfvf++kV7d3S9gV1 LlrkDq7Mi2cZ8d5hFFCmPYqRcLUIxoYtOhacRy/oHxgO9DOMh+tFnUWqZqrGBnoGxt9ynd Ot6rSdzohN9AHgvF+N/17HzamwF9yiKUTmbr268Jj4vMg+Txn9Fkyrux87HCUTYTdIgy63 QG0LRMUnTw8PmiaAN4DzRImJ0LLWI2Xb+sVJZeyo8zcfKSH/3DnVn4rCpn40sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676498585; 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=ZSxS+OBNVFMUD2Zq+Bl/RifIHmyBrr8Qq0qLKSLF/ys=; b=lqdFvgwDLVcDvddF/xJb9vZGeNdxy0fd1F52ky7gSIGaGkkP5sXs89YUVjvR3mNWLxbWV7 XoMrNpD+EiwNLs4zSfbEahk+4AzUv7qdNrmBNGd26pBO8KkmRpuOBTUwmgVTz0BjG7H5i1 5UPityXVALXNgnMr1k4jT3TYW3snj7LKZAYC7bkOn3KkoV+OxzydhKK9NKkYlZ/q/8vwBf p33eLVWeEgv2gPt4r5OK7vvIqHTGuBi14rc7VISzLot7TmzE8MFuJ9TM5SWrPLbe9M/1bK FcDz2CZzM14eSvBM1LTQiktGPFov8T3ju2YF6LfZlYEMwm1Mp+5O7S8dkHDpAw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 7.28 X-Spam-Score: 7.28 X-Migadu-Queue-Id: C706C31F89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=D6UntDDp; 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=riseup.net (policy=none) X-TUID: Gy2wdf0mLqYw From: raingloom * gnu/packages/ocaml.scm (ocaml-mirage-logs): New variable. --- gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index b4b81b9a41..d6ecc92605 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3954,6 +3954,34 @@ (define-public ocaml-mirage-profile ocaml-mirage-profile-unix) (append ocaml-mirage-profile-unix))))) +(define-public ocaml-mirage-logs + (package + (name "ocaml-mirage-logs") + (version "1.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/mirage-logs/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1wv2hz1dj38jzc8nabin9p8im43ghy8f3crv7rf9szyyzyrdanp2")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-logs ocaml-ptime ocaml-mirage-clock + ocaml-mirage-profile ocaml-lwt)) + (native-inputs (list ocaml-alcotest)) + (home-page "https://github.com/mirage/mirage-logs") + (synopsis + "Reporter for the Logs library that writes to stderr with timestamps") + (description + "Uses a Mirage @code{CLOCK} to write timestamped log messages. It can +also log only important messages to the console, while writing all received +messages to a ring buffer which is displayed if an exception occurs. If +tracing is enabled (via mirage-profile), it also writes each log message to +the trace buffer.") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") -- 2.39.1