11 lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08")
12 "mtime is not available for OCaml ${ocaml.version}"
16 pname = "ocaml${ocaml.version}-mtime";
20 url = "https://erratique.ch/software/mtime/releases/mtime-${version}.tbz";
21 sha256 = "sha256-CXyygC43AerZVy4bSD1aKMbi8KOUSfqvm0StiomDTYg=";
30 buildInputs = [ topkg ];
34 inherit (topkg) buildPhase installPhase;
37 description = "Monotonic wall-clock time for OCaml";
38 homepage = "https://erratique.ch/software/mtime";
39 inherit (ocaml.meta) platforms;
40 maintainers = [ maintainers.vbgl ];
41 license = licenses.bsd3;