guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Herman Rimm
Subject: [bug#73466] [PATCH 02/16] gnu: Add ocaml-ppx-yojson-conv-lib.
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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]