Subject: [PATCH v9 29/34] gnu: Add dune-stdune.

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

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

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 6bbc1d1e94..3db709cefa 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2059,6 +2059,19 @@ (define-public dune-dyn
     (synopsis "Dune dynamic types")
     (description "This library represents dynamic types in OCaml.")))
 
+(define-public dune-stdune
+  (package
+    (inherit dune-ordering)
+    (name "dune-stdune")
+    (build-system dune-build-system)
+    (arguments
+     `(#:package "stdune"
+       ;; Tests have a cyclic dependency on itself
+       #:tests? #f))
+    (propagated-inputs (list dune-dyn ocaml-pp))
+    (synopsis "Unstable standard library from Dune")
+    (description "This library implements the standard functions used by Dune.")))
+
 (define-public ocaml-csexp
   (package
     (name "ocaml-csexp")
-- 
2.41.0