From 861866bef31151da248ba8dcc3aaf8916980ecb5 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sun, 24 Mar 2024 00:35:12 +0100 Subject: gnu: Add ocaml-ppx-yojson-conv-lib. * gnu/packages/ocaml.scm (ocaml-ppx-yojson-conv-lib): New variable. Change-Id: Ifd7d64e88dc873bff08ac393779ecc86594455a1 Signed-off-by: Danny Milosavljevic --- gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 7586d4387c..9210ff39c3 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6046,6 +6046,29 @@ yojson package. The program @code{atdgen} can be used to derive OCaml-JSON serializers and deserializers from type definitions.") (license license:bsd-3))) +(define-public ocaml-ppx-yojson-conv-lib + (package + (name "ocaml-ppx-yojson-conv-lib") + (version "0.16.0") + (home-page "https://github.com/janestreet/ppx_yojson_conv_lib") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 + "1npc1dbrcl3izi2rpf3rqz98jvsxrgzqn2vb95nf8wxgmh6gmrsc")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-yojson)) + (properties `((upstream-name . "ppx_yojson_conv_lib"))) + (synopsis "Runtime library used by ocaml PPX yojson convertor") + (description "Ppx_yojson_conv_lib is the runtime library used by +ppx_yojson_conv, a ppx rewriter that can be used to convert ocaml types +to a Yojson.Safe value.") + (license license:expat))) + (define-public ocaml-merlin-lib (package (name "ocaml-merlin-lib") -- cgit v1.2.3