guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64209] [PATCH 03/14] gnu: Add ocaml-chrome-trace.


From: Benjamin
Subject: [bug#64209] [PATCH 03/14] gnu: Add ocaml-chrome-trace.
Date: Wed, 21 Jun 2023 17:48:17 +0200

* gnu/packages/ocaml.scm (ocaml-chrome-trace): New variable.
---
 gnu/packages/ocaml.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 18825f607a..078c7837e7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -9696,6 +9696,27 @@ (define-public ocaml-dune-rpc
     (synopsis "Communicate with dune using rpc")
     (description "Library to connect and control a running dune instance")))
 
+(define-public ocaml-chrome-trace
+  (package
+    (inherit dune)
+    (name "ocaml-chrome-trace")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "chrome-trace"
+       #:tests? #f
+       #:phases (modify-phases %standard-phases
+                  (add-before 'build 'remove-vendor
+                    (lambda _
+                      (delete-file-recursively "vendor/csexp")
+                      (delete-file-recursively "vendor/pp"))))))
+    (propagated-inputs (list ocaml-odoc))
+    (properties '())
+    (synopsis "Chrome trace event generation library")
+    (description
+     "This library offers no backwards compatibility guarantees.  Use at your 
own
+risk.")
+    (license license:expat)))
+
 (define-public ocaml-either
   (package
     (name "ocaml-either")
-- 
2.40.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]