diff options
author | Julien Lepiller <julien@lepiller.eu> | 2016-12-30 19:21:17 +0100 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2017-03-14 22:09:14 +0100 |
commit | d19c1b410508eee5824582d0ac6d8b00de483bbb (patch) | |
tree | 54d9572c5bab750f7a92b0cdac48d05182467c2d /gnu/packages/ocaml.scm | |
parent | 9099a45792306fade2d9ca55138e49ef4f01f1ea (diff) | |
download | guix-d19c1b410508eee5824582d0ac6d8b00de483bbb.tar guix-d19c1b410508eee5824582d0ac6d8b00de483bbb.tar.gz |
gnu: Add ocaml-sexplib.
* gnu/packages/ocaml.scm (ocaml-sexplib): New variable.
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r-- | gnu/packages/ocaml.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index e225aa6d68..dc2ce14d30 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2280,3 +2280,20 @@ than ocaml's Pervasives.compare. Scaffolding functions also gives you more flexibility by allowing you to override them for a specific type and more safety by making sure that you only compare comparable values.") (license license:asl2.0))) + +(define-public ocaml-sexplib + (package + (name "ocaml-sexplib") + (version "113.33.03") + (source (janestreet-origin "sexplib" version + "1ffjmj8if9lyv965cgn2ld1xv7g52qsr8mqflbm515ck1i8l2ima")) + (build-system ocaml-build-system) + (native-inputs + `(("js-build-tools" ,ocaml-js-build-tools) + ("opam" ,opam))) + (arguments janestreet-arguments) + (home-page "https://github.com/janestreet/sexplib/") + (synopsis "Library for serializing OCaml values to and from S-expressions") + (description "Sexplib contains functionality for parsing and pretty-printing +s-expressions.") + (license license:asl2.0))) |