16 lib.throwIfNot (lib.versionAtLeast ocaml.version "4.03")
17 "${pname} is not available with OCaml ${ocaml.version}"
21 name = "ocaml${ocaml.version}-${pname}-${version}";
25 url = "https://erratique.ch/software/${pname}/releases/${pname}-${version}.tbz";
26 sha256 = "sha256-h3KlYT0ecCmM4U3zMkGjaF8h5O9r20zwP+mF+x7KBWg=";
39 propagatedBuildInputs = [ uchar ];
43 inherit (topkg) buildPhase installPhase;
46 description = "Non-blocking streaming Unicode codec for OCaml";
47 homepage = "https://erratique.ch/software/uutf";
48 license = licenses.bsd3;
49 maintainers = [ maintainers.vbgl ];
50 mainProgram = "utftrip";
51 inherit (ocaml.meta) platforms;