Subject: [PATCH 1/5] gnu: ocaml-mdx: Update to 2.4.1.

From: Benjamin <[email-masked]>
Date: Sun, 14 Jul 2024 13:49:48 +0200

* gnu/packages/ocaml.scm (ocaml-mdx): Update to 2.4.1.
[propagated-inputs]: Remove ocaml-odoc and ocaml-odoc-parser; add ocaml-camlp-streams,
ocaml-csexp, and ocaml-cppo.
[native-inputs]: Remove ocaml-cppo; add ocaml-odoc.

Change-Id: I319fc32d958efe0ca5db6d6c4fef9dbf0de97fd1
---
 gnu/packages/ocaml.scm | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 1204c78883..fa84ea73a5 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8445,7 +8445,7 @@ (define-public ocaml-version
 (define-public ocaml-mdx
   (package
     (name "ocaml-mdx")
-    (version "2.1.0")
+    (version "2.4.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -8454,7 +8454,7 @@ (define-public ocaml-mdx
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1w1givvhwv9jzj9zbg4mmlpb35sqi75w83r99p2z50bdr69fdf57"))))
+                "14v4iv0xypvl60y9vsg5rs8xbwxagmz0zr8sxrzchd6xij0nlplv"))))
     (build-system dune-build-system)
     (arguments
      `(#:phases
@@ -8473,17 +8473,18 @@ (define-public ocaml-mdx
              (substitute* "test/bin/mdx-test/expect/padding/test-case.md"
                (("egrep") "grep -E")))))))
     (propagated-inputs
-     (list ocaml-fmt
-           ocaml-astring
-           ocaml-logs
-           ocaml-cmdliner
+     (list ocaml-result
+           ocaml-camlp-streams
+           ocaml-version
            ocaml-re
-           ocaml-result
-           ocaml-odoc
-           ocaml-odoc-parser
-           ocaml-version))
+           ocaml-cmdliner
+           ocaml-logs
+           ocaml-astring
+           ocaml-csexp
+           ocaml-cppo
+           ocaml-fmt))
     (native-inputs
-     (list ocaml-cppo ocaml-lwt ocaml-alcotest))
+     (list ocaml-odoc ocaml-alcotest ocaml-lwt))
     (home-page
      "https://github.com/realworldocaml/mdx")
     (synopsis
-- 
2.45.2