1 { lib, ocaml, buildDunePackage, uri, ounit, ppx_sexp_conv, sexplib0 }:
3 if lib.versionOlder ocaml.version "4.04"
4 then throw "uri-sexp is not available for OCaml ${ocaml.version}"
9 inherit (uri) version useDune2 src meta;
11 checkInputs = [ ounit ];
12 propagatedBuildInputs = [ ppx_sexp_conv sexplib0 uri ];
13 doCheck = lib.versionAtLeast ocaml.version "4.08";