diff options
author | Benjamin <benjamin@uvy.fr> | 2024-03-24 00:35:12 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2024-12-23 11:45:51 +0100 |
commit | 861866bef31151da248ba8dcc3aaf8916980ecb5 (patch) | |
tree | 985fea3da24cdffac7ec6da8b6f800c4eed546ea /gnu/packages | |
parent | 0ac6a2eaaf32da1b70aecfed19bac330039a07c0 (diff) | |
download | guix-861866bef31151da248ba8dcc3aaf8916980ecb5.tar.gz guix-861866bef31151da248ba8dcc3aaf8916980ecb5.zip |
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 <dannym@friendly-machines.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/ocaml.scm | 23 |
1 files changed, 23 insertions, 0 deletions
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") |