Subject: [bug#73466] [PATCH 04/16] gnu: Add ocaml-catapult.

From: Herman Rimm <[email-masked]>
Date: Wed, 25 Sep 2024 10:03:00 +0200

* gnu/packages/ocaml.scm (ocaml-catapult, ocaml-catapult-file): Add
variables.

Change-Id: I906c806ce5ba7ed6de16969e3ad521b166b26abd
---
 gnu/packages/ocaml.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0cb2e61c93..0e8bbb2ade 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -703,6 +703,47 @@ (define-public ocaml-extlib
     ;; With static-linking exception
     (license license:lgpl2.1+)))
 
+(define-public ocaml-catapult
+  (package
+    (name "ocaml-catapult")
+    (version "0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        "https://github.com/AestheticIntegration/catapult/archive/v0.2.tar.gz")
+       (sha256
+        (base32 "0nmmngxswh8r4wrxd1qwl8z98qwpapv7g2005g0minfwxk1vnjpa"))))
+    (build-system dune-build-system)
+    ;; missing: logs sqlite3 zmq directories
+    (native-inputs (list ocaml-directories ocaml-logs ocaml-sqlite3 ocaml-zmq))
+    (propagated-inputs (list ocaml-odoc))
+    (home-page "https://github.com/AestheticIntegration/catapult")
+    (synopsis "Tracing system based on the Catapult/TEF format")
+    (description
+      "This package provides a tracing system based on the Catapult/TEF
+format.")
+    (license license:expat)))
+
+(define-public ocaml-catapult-file
+  (package
+    (name "ocaml-catapult-file")
+    (version "0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        "https://github.com/AestheticIntegration/catapult/archive/v0.2.tar.gz")
+       (sha256
+        (base32 "0nmmngxswh8r4wrxd1qwl8z98qwpapv7g2005g0minfwxk1vnjpa"))))
+    (build-system dune-build-system)
+    (propagated-inputs (list ocaml-catapult ocaml-odoc))
+    (native-inputs (list ocaml-directories ocaml-logs ocaml-sqlite3 ocaml-zmq))
+    (home-page "https://github.com/AestheticIntegration/catapult")
+    (synopsis "File logger for catapult")
+    (description "This package provides a file logger for catapult.")
+    (license license:expat)))
+
 (define-public ocaml-cudf
   (package
     (name "ocaml-cudf")
-- 
2.45.2