[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/45: gnu: Add ocaml-mirage-logs.
From: |
guix-commits |
Subject: |
20/45: gnu: Add ocaml-mirage-logs. |
Date: |
Fri, 17 Feb 2023 10:49:33 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 34958ee1b6cc4a829320c286a3c85d978b69d466
Author: raingloom <raingloom@riseup.net>
AuthorDate: Wed Feb 15 23:00:09 2023 +0100
gnu: Add ocaml-mirage-logs.
* gnu/packages/ocaml.scm (ocaml-mirage-logs): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 1f41af848a..83954cfd86 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3952,6 +3952,34 @@ non-profiling case.")
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")
- 09/45: gnu: Add ocaml-functoria., (continued)
- 09/45: gnu: Add ocaml-functoria., guix-commits, 2023/02/17
- 42/45: gnu: Add chathistorysync., guix-commits, 2023/02/17
- 45/45: gnu: Add clipman., guix-commits, 2023/02/17
- 01/45: gnu: Add ocaml-domain-name., guix-commits, 2023/02/17
- 25/45: gnu: Add ocaml-async-kernel., guix-commits, 2023/02/17
- 36/45: gnu: Add ocaml-bheap., guix-commits, 2023/02/17
- 37/45: gnu: Add ocaml-mirage-xen., guix-commits, 2023/02/17
- 40/45: gnu: p11-kit-next: Switch to meson-build-system., guix-commits, 2023/02/17
- 13/45: gnu: Add ocaml-mirage-time., guix-commits, 2023/02/17
- 19/45: gnu: Add ocaml-ptime., guix-commits, 2023/02/17
- 20/45: gnu: Add ocaml-mirage-logs.,
guix-commits <=
- 12/45: gnu: Add ocaml-mirage-unix., guix-commits, 2023/02/17
- 30/45: gnu: Add ocaml-async-rpc-kernel., guix-commits, 2023/02/17
- 29/45: gnu: Add ocaml-protocol-version-header., guix-commits, 2023/02/17
- 35/45: gnu: Add ocaml-io-page., guix-commits, 2023/02/17
- 41/45: gnu: Add go-gopkg-in-irc-v3., guix-commits, 2023/02/17
- 44/45: gnu: Add docker-registry., guix-commits, 2023/02/17