1 { lib, buildDunePackage, fetchFromGitHub
9 minimalOCamlVersion = "4.07";
11 src = fetchFromGitHub {
15 sha256 = "1dk33lr0g2jnia2gqsm6nnc7nf256qgkm3v30w477gm6y2ppfm3h";
20 nativeBuildInputs = [ menhir ];
22 # Ensure compatibility of v0.6 with menhir ≥ 20220210
24 substituteInPlace dune-project --replace "(using menhir 1.0)" "(using menhir 2.0)"
28 description = "Date and duration in OCaml";
29 inherit (src.meta) homepage;
30 license = lib.licenses.mit;
31 maintainers = [ lib.maintainers.vbgl ];