[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60673] [PATCH 20/39] gnu: Add ocaml-mirage-logs.
From: |
Csepp |
Subject: |
[bug#60673] [PATCH 20/39] gnu: Add ocaml-mirage-logs. |
Date: |
Mon, 9 Jan 2023 01:35:10 +0100 |
From: raingloom <raingloom@riseup.net>
* 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 52692b40bf..f703b04760 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3958,6 +3958,34 @@ (define-public ocaml-mirage-profile
(package-propagated-inputs 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 url-fetch)
+ (uri
+
"https://github.com/mirage/mirage-logs/releases/download/v1.2.0/mirage-logs-v1.2.0.tbz")
+ (sha256
+ (base32
+ "0h0amzjxy067jljscib7fvw5q8k0adqa8m86affha9hq5jsh07a1"))))
+ (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.38.1
- [bug#60673] [PATCH 28/39] gnu: Add ocaml-textutils., (continued)
- [bug#60673] [PATCH 28/39] gnu: Add ocaml-textutils., Csepp, 2023/01/08
- [bug#60673] [PATCH 25/39] gnu: Add ocaml-async-kernel., Csepp, 2023/01/08
- [bug#60673] [PATCH 39/39] gnu: Add ocaml-mirage-bootvar-unix., Csepp, 2023/01/08
- [bug#60673] [PATCH 23/39] gnu: Add ocaml-intrinsics., Csepp, 2023/01/08
- [bug#60673] [PATCH 19/39] gnu: Add ocaml-ptime., Csepp, 2023/01/08
- [bug#60673] [PATCH 24/39] gnu: Add ocaml-core-unix., Csepp, 2023/01/08
- [bug#60673] [PATCH 31/39] gnu: Add ocaml-async., Csepp, 2023/01/08
- [bug#60673] [PATCH 35/39] gnu: Add ocaml-io-page., Csepp, 2023/01/08
- [bug#60673] [PATCH 15/39] gnu: Add ocaml-ppx-cstruct., Csepp, 2023/01/08
- [bug#60673] [PATCH 16/39] gnu: Add ocaml-mirage-profile-unix., Csepp, 2023/01/08
- [bug#60673] [PATCH 20/39] gnu: Add ocaml-mirage-logs.,
Csepp <=
- [bug#60673] [PATCH 22/39] gnu: Add ocaml-expect-test-helpers-core., Csepp, 2023/01/08
- [bug#60673] [PATCH 32/39] gnu: Add ocaml-shared-memory-ring., Csepp, 2023/01/08
- [bug#60673] [PATCH 34/39] gnu: Add ocaml-xenstore., Csepp, 2023/01/08
- [bug#60673] [PATCH 36/39] gnu: Add ocaml-bheap., Csepp, 2023/01/08
- [bug#60673] [PATCH 29/39] gnu: Add ocaml-protocol-version-header., Csepp, 2023/01/08
- [bug#60673] [PATCH 18/39] gnu: Add ocaml-mirage-clock., Csepp, 2023/01/08
- [bug#60673] [PATCH 26/39] gnu: Add ocaml-async-unix., Csepp, 2023/01/08
- [bug#60673] [PATCH 30/39] gnu: Add ocaml-async-rpc-kernel., Csepp, 2023/01/08
- [bug#60673] [PATCH 27/39] gnu: Add ocaml-textutils-kernel., Csepp, 2023/01/08
- [bug#60673] [PATCH 33/39] gnu: Alias ocaml-shared-memory-ring-lwt to ocaml-shared-memory-ring., Csepp, 2023/01/08