11 if lib.versionOlder ocaml.version "4.14.0"
12 then throw "cmarkit is not available for OCaml ${ocaml.version}"
15 stdenv.mkDerivation rec {
20 url = "https://erratique.ch/software/cmarkit/releases/cmarkit-${version}.tbz";
21 hash = "sha256-86RuGB5pLbw/ThPGz9+qLaZRH7xvxbYrZWFLLIkc5Mk=";
38 inherit (topkg) buildPhase installPhase;
41 description = "CommonMark parser and renderer for OCaml";
42 homepage = "https://erratique.ch/software/cmarkit";
43 changelog = "https://github.com/dbuenzli/cmarkit/blob/v${version}/CHANGES.md";
44 license = licenses.isc;
45 maintainers = [ maintainers.marsam ];
46 inherit (ocaml.meta) platforms;