guix-devel
[Top][All Lists]
Advanced

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

[PATCH 88/96] gnu: Add ocaml-ezjsonm


From: Julien Lepiller
Subject: [PATCH 88/96] gnu: Add ocaml-ezjsonm
Date: Tue, 3 Jan 2017 20:12:09 +0100

* gnu/packages/ocaml.scm (ocaml-ezjsonm): New variable.
---
 gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 9b9b3aa32..b4b506f8e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2705,3 +2705,31 @@ writing to these structures, and they are accessed via 
the Bigarray module.")
     (synopsis "Minimal library providing hexadecimal converters")
     (description "Minimal library providing hexadecimal converters.")
     (license license:isc)))
+
+(define-public ocaml-ezjsonm
+  (package
+    (name "ocaml-ezjsonm")
+    (version "0.4.3")
+    (home-page "https://github.com/mirage/ezjsonm/";)
+    (source (origin
+              (method url-fetch)
+              (uri (string-append home-page "archive/" version ".tar.gz"))
+              (sha256
+                (base32
+                  "1kag0z2xlk4rw73a240dmkxh9rj6psxxcxkm7d7z0rrj6hzjajgq"))))
+    (build-system ocaml-build-system)
+    (native-inputs `(("alcotest" ,ocaml-alcotest)))
+    (propagated-inputs `(("hex" ,ocaml-hex)
+                         ("jsonm" ,ocaml-jsonm)
+                         ("lwt" ,ocaml-lwt)
+                         ("sexplib" ,ocaml-sexplib)))
+    (arguments `(#:configure-flags (list "--enable-lwt")
+                 ;; dllcstruct_stubs.so: cannot open shared object file: No
+                 ;; such file or directory
+                 #:tests? #f))
+    (synopsis "An easy interface on top of the Jsonm library")
+    (description "This version provides more convenient (but far less flexible)
+input and output functions that go to and from [string] values.  This avoids
+the need to write signal code, which is useful for quick scripts that
+manipulate JSON.")
+    (license license:isc)))
-- 
2.11.0




reply via email to

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