ocamlPackages.uri-sexp: init at 3.0.0

This commit is contained in:
Vincent Laporte
2019-08-21 21:12:37 +00:00
parent 88f57d4501
commit 136f739184
3 changed files with 18 additions and 3 deletions
@@ -0,0 +1,13 @@
{ lib, ocaml, buildDunePackage, uri, ounit, ppx_sexp_conv, sexplib0 }:
if !lib.versionAtLeast ocaml.version "4.04"
then throw "uri-sexp is not available for OCaml ${ocaml.version}"
else
buildDunePackage {
pname = "uri-sexp";
inherit (uri) version src doCheck meta;
buildInputs = [ ounit ];
propagatedBuildInputs = [ ppx_sexp_conv sexplib0 uri ];
}