1 { stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, uutf }:
3 let version = "1.0.1"; in
6 name = "ocaml${ocaml.version}-jsonm-${version}";
9 url = "https://erratique.ch/software/jsonm/releases/jsonm-${version}.tbz";
10 sha256 = "1176dcmxb11fnw49b7yysvkjh0kpzx4s48lmdn5psq9vshp5c29w";
13 buildInputs = [ findlib topkg ];
14 nativeBuildInputs = [ ocaml findlib ocamlbuild ];
15 propagatedBuildInputs = [ uutf ];
17 inherit (topkg) buildPhase installPhase;
20 description = "An OCaml non-blocking streaming codec to decode and encode the JSON data format";
21 homepage = "https://erratique.ch/software/jsonm";
22 license = lib.licenses.bsd3;
23 maintainers = with lib.maintainers; [ vbgl ];
24 platforms = ocaml.meta.platforms or [];