Subject: [bug#73466] [PATCH v2 01/15] gnu: Add ocaml-ppx-yojson-conv-lib.

From: Herman Rimm <[email-masked]>
Date: Thu, 26 Sep 2024 09:23:31 +0200

* gnu/packages/ocaml.scm (ocaml-ppx-yojson-conv-lib): Add
variable.

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 6ba5f5e374..a17b46a5b9 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -536,6 +536,27 @@ (define-public ocaml-4.07
 
 (define-public ocaml ocaml-4.14)
 
+(define-public ocaml-ppx-yojson-conv-lib
+  (package
+    (name "ocaml-ppx-yojson-conv-lib")
+    (version "0.17.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/janestreet/ppx_yojson_conv_lib")
+              (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "0nd9vghqbgpam17n4lrcwp88n67q98x0dr86d921760y05q2js2w"))))
+    (build-system dune-build-system)
+    (propagated-inputs (list ocaml-yojson))
+    (properties `((upstream-name . "ppx_yojson_conv_lib")))
+    (home-page "https://github.com/janestreet/ppx_yojson_conv_lib")
+    (synopsis "Runtime lib for ppx_yojson_conv")
+    (description "Part of the Jane Street's PPX rewriters collection.")
+    (license license:expat)))
+
 (define-public ocamlbuild
   (package
     (name "ocamlbuild")

base-commit: 5955c2aebc95f5ba7a75a92e2c045af8ea56685b
-- 
2.45.2