Subject: [bug#68908] [PATCH] gnu: Add ocaml-dune-site.

From: [email-masked]
Date: Sat, 3 Feb 2024 16:12:05 +0100

From: Sören Tempel <[email-masked]>

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

Signed-off-by: Sören Tempel <[email-masked]>
---
 gnu/packages/ocaml.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f2d18d0205..8701b4cb23 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8369,6 +8369,21 @@ (define-public ocaml-dune-private-libs
 Nonetheless, many OCaml packages depend on this library.")
     (license license:expat)))
 
+(define-public ocaml-dune-site
+  (package
+    (inherit dune)
+    (name "ocaml-dune-site")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "dune-site"
+       ;; No separate test suite from dune.
+       #:tests? #f))
+    (propagated-inputs (list ocaml-dune-private-libs ocaml-odoc))
+    (synopsis "Embed locations information inside executable and libraries")
+    (description "This OCaml library allows embedding information inside
+executable binaries and libraries, it is provided by Dune.")
+    (license license:expat)))
+
 (define-public ocaml-dune-build-info
   (package
     (inherit dune)