ocamlPackages.odate: init at 0.6
This commit is contained in:
parent
1df84d17b9
commit
cf7475d206
2 changed files with 31 additions and 0 deletions
29
pkgs/development/ocaml-modules/odate/default.nix
Normal file
29
pkgs/development/ocaml-modules/odate/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue