[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60673] [PATCH v2 20/39] gnu: Add ocaml-mirage-logs.
From: |
Csepp |
Subject: |
[bug#60673] [PATCH v2 20/39] gnu: Add ocaml-mirage-logs. |
Date: |
Wed, 15 Feb 2023 23:00:09 +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 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
- [bug#60673] [PATCH v2 11/39] gnu: Add ocaml-duration., (continued)
- [bug#60673] [PATCH v2 11/39] gnu: Add ocaml-duration., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 13/39] gnu: Add ocaml-mirage-time., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 09/39] gnu: Add ocaml-functoria., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 14/39] gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 15/39] gnu: Add ocaml-ppx-cstruct., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 17/39] gnu: Add ocaml-mirage-profile., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 12/39] gnu: Add ocaml-mirage-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 16/39] gnu: Add ocaml-mirage-profile-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 08/39] gnu: Add ocaml-mirage-runtime., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 19/39] gnu: Add ocaml-ptime., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 20/39] gnu: Add ocaml-mirage-logs.,
Csepp <=
- [bug#60673] [PATCH v2 31/39] gnu: Add ocaml-async., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 23/39] gnu: Add ocaml-intrinsics., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 33/39] gnu: Add ocaml-shared-memory-ring-lwt., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 32/39] gnu: Add ocaml-shared-memory-ring., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 35/39] gnu: Add ocaml-io-page., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 26/39] gnu: Add ocaml-async-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 25/39] gnu: Add ocaml-async-kernel., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 27/39] gnu: Add ocaml-textutils-kernel., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 10/39] gnu: Add ocaml-mirage., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 28/39] gnu: Add ocaml-textutils., Csepp, 2023/02/15