1 { lib, buildOcaml, ocaml, fetchurl }:
3 if lib.versionAtLeast ocaml.version "4.06"
4 then throw "estring is not available for OCaml ${ocaml.version}"
12 url = "https://forge.ocamlcore.org/frs/download.php/1012/estring-${version}.tar.gz";
13 sha256 = "0b6znz5igm8pp28w4b7sgy82rpd9m5aw6ss933rfbw1mrh05gvcg";
17 homepage = "http://estring.forge.ocamlcore.org/";
18 description = "Extension for string literals";
19 license = licenses.bsd3;