summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2022-05-01 08:00:32 +0200
committerJulien Lepiller <julien@lepiller.eu>2022-05-01 13:14:56 +0200
commit823005c6a3f163aec24b5fb71b570a94f1fa8681 (patch)
tree652d81647ca349d551adcd70203db2d906107066
parent044b42720d7c8117008302b23fbf248fa962de9e (diff)
downloadguix-823005c6a3f163aec24b5fb71b570a94f1fa8681.tar.gz
gnu: Add ocaml-ppx-log.
* gnu/packages/ocaml.scm (ocaml-ppx-log): New variable.
-rw-r--r--gnu/packages/ocaml.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 680533072e..227bdc7e1b 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6609,6 +6609,34 @@ functions from type definitions.")
 PPXs or compiler features not yet upstreamed.")
     (license license:expat)))
 
+(define-public ocaml-ppx-log
+  (package
+    (name "ocaml-ppx-log")
+    (version "0.15.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/janestreet/ppx_log")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32 "08i9gz3f4w3bmlrfdw7ja9awsfkhhldz03bnnc4hijfmn8sawzi0"))))
+    (build-system dune-build-system)
+    (propagated-inputs
+      (list ocaml-base
+            ocaml-ppx-here
+            ocaml-ppx-sexp-conv
+            ocaml-ppx-sexp-message
+            ocaml-sexplib
+            ocaml-ppxlib))
+    (properties `((upstream-name . "ppx_log")))
+    (home-page "https://github.com/janestreet/ppx_log")
+    (synopsis "Extension nodes for lazily rendering log messages")
+    (description "This package provides ppx_sexp_message-like extension
+nodes for lazily rendering log messages.")
+    (license license:expat)))
+
 (define-public ocaml-ppx-jane
   (package
     (name "ocaml-ppx-jane")