Adds ocaml-ezjsonm

An easy interface on top of the Jsonm library.

Homepage: https://github.com/mirage/ezjsonm
This commit is contained in:
Vincent Laporte 2015-01-24 23:34:56 +01:00
parent c1814073ac
commit 3532d658b5
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchzip, ocaml, findlib, jsonm, hex, sexplib, lwt }:
let version = "0.3.1"; in
stdenv.mkDerivation {
name = "ocaml-ezjsonm-${version}";
src = fetchzip {
url = "https://github.com/mirage/ezjsonm/archive/${version}.tar.gz";
sha256 = "0cz1v75j8j5y4vfcgylp5zaxiy7541qg6pm4wrgmvy6fmh82654f";
};
buildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ jsonm hex sexplib lwt ];
createFindlibDestdir = true;
configureFlags = "--enable-lwt";
meta = {
description = "An easy interface on top of the Jsonm library";
homepage = https://github.com/mirage/ezjsonm;
license = stdenv.lib.licenses.isc;
maintainers = with stdenv.lib.maintainers; [ vbgl ];
platforms = ocaml.meta.platforms;
};
}

View File

@ -3753,6 +3753,11 @@ let
eliom = callPackage ../development/ocaml-modules/eliom { }; eliom = callPackage ../development/ocaml-modules/eliom { };
ezjsonm = callPackage ../development/ocaml-modules/ezjsonm {
lwt = ocaml_lwt;
sexplib = ocaml_sexplib;
};
fieldslib = callPackage ../development/ocaml-modules/fieldslib { }; fieldslib = callPackage ../development/ocaml-modules/fieldslib { };
findlib = callPackage ../development/tools/ocaml/findlib { }; findlib = callPackage ../development/tools/ocaml/findlib { };