Subject: [PATCH 02/16] gnu: Add ocaml-ppx-yojson-conv-lib.

From: Herman Rimm <[email-masked]>
Date: Wed, 25 Sep 2024 10:02:58 +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 e7dcedc939..e21787b5a1 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -538,6 +538,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 url-fetch)
+       (uri (string-append "https://github.com/janestreet/ppx_yojson_"
+                           "conv_lib/archive/refs/tags/v" version
+                           ".tar.gz"))
+       (sha256
+        (base32
+         "16dijxv2rz787fadai61ilgzfk5a24wfjnmvv3ncalwc829fxrpn"))))
+    (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")
-- 
2.45.2