Subject: [bug#64249] [PATCH v9 28/34] gnu: Add dune-dyn.

From: Julien Lepiller <[email-masked]>
Date: Wed, 10 Jan 2024 08:43:29 +0100

* gnu/packages/ocaml.scm (dune-dyn): New variable.

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 39724a5f1f..6bbc1d1e94 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2046,6 +2046,19 @@ (define-public dune-ordering
     (synopsis "Dune element ordering")
     (description "This library represents element ordering in OCaml.")))
 
+(define-public dune-dyn
+  (package
+    (inherit dune-ordering)
+    (name "dune-dyn")
+    (build-system dune-build-system)
+    (arguments
+     `(#:package "dyn"
+       ;; Tests have a cyclic dependency on stdune
+       #:tests? #f))
+    (propagated-inputs (list ocaml-pp dune-ordering))
+    (synopsis "Dune dynamic types")
+    (description "This library represents dynamic types in OCaml.")))
+
 (define-public ocaml-csexp
   (package
     (name "ocaml-csexp")
-- 
2.41.0