ocamlPackages.odate: init at 0.6

This commit is contained in:
Vincent Laporte 2020-11-29 16:15:18 +01:00 committed by Vincent Laporte
parent 1df84d17b9
commit cf7475d206
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, buildDunePackage, fetchFromGitHub
, menhir
}:
buildDunePackage rec {
pname = "odate";
version = "0.6";
useDune2 = true;
minimumOCamlVersion = "4.07";
src = fetchFromGitHub {
owner = "hhugo";
repo = pname;
rev = version;
sha256 = "1dk33lr0g2jnia2gqsm6nnc7nf256qgkm3v30w477gm6y2ppfm3h";
};
buildInputs = [ menhir ];
meta = {
description = "Date and duration in OCaml";
inherit (src.meta) homepage;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -740,6 +740,8 @@ let
octavius = callPackage ../development/ocaml-modules/octavius { };
odate = callPackage ../development/ocaml-modules/odate { };
odoc = callPackage ../development/ocaml-modules/odoc { };
omd = callPackage ../development/ocaml-modules/omd { };