ocamlPackages.otoml: init at 0.9.0

This commit is contained in:
Vincent Laporte 2021-07-19 09:31:51 +02:00 committed by Vincent Laporte
parent e2a89729c5
commit 8da4fa1e4b
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib, fetchFromGitHub, buildDunePackage
, menhir
, menhirLib
, uutf
}:
buildDunePackage rec {
pname = "otoml";
version = "0.9.0";
useDune2 = true;
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "dmbaturin";
repo = pname;
rev = version;
sha256 = "0l0c60rzgk11y8xq05kr8q9hkzb3c8vi995mq84x98ys73wb42j3";
};
buildInputs = [ menhir ];
propagatedBuildInputs = [ menhirLib uutf ];
meta = {
description = "A TOML parsing and manipulation library for OCaml";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}

View file

@ -964,6 +964,8 @@ let
otfm = callPackage ../development/ocaml-modules/otfm { };
otoml = callPackage ../development/ocaml-modules/otoml { };
otr = callPackage ../development/ocaml-modules/otr { };
owee = callPackage ../development/ocaml-modules/owee { };