22 buildDunePackage rec {
24 inherit (odoc-parser) version src;
51 doCheck = lib.versionAtLeast ocaml.version "4.08" && lib.versionOlder yojson.version "2.0";
54 # some run.t files check the content of patchShebangs-ed scripts, so patch
56 find test \( -name '*.sh' -o -name 'run.t' \) -execdir sed 's@#!/bin/sh@#!${bash}/bin/sh@' -i '{}' \;
61 description = "Documentation generator for OCaml";
63 license = lib.licenses.isc;
64 maintainers = [ lib.maintainers.vbgl ];
65 homepage = "https://github.com/ocaml/odoc";
66 changelog = "https://github.com/ocaml/odoc/blob/${version}/CHANGES.md";