ocamlPackages.toml: init at 5.0.0

This commit is contained in:
Vincent Laporte 2019-07-23 19:26:54 +00:00 committed by Vincent Laporte
parent c75b84a7c4
commit ca3f1c20d7
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, fetchFromGitHub, buildDunePackage
, iso8601, menhir
}:
buildDunePackage rec {
pname = "toml";
version = "5.0.0";
src = fetchFromGitHub {
owner = "ocaml-toml";
repo = "to.ml";
rev = "v${version}";
sha256 = "1505kwcwklcfaxw8wckajm8kc6yrlikmxyhi8f8cpvhlw9ys90nj";
};
buildInputs = [ menhir ];
propagatedBuildInputs = [ iso8601 ];
meta = {
description = "Implementation in OCaml of the Toml minimal langage";
homepage = "http://ocaml-toml.github.io/To.ml";
license = lib.licenses.lgpl3;
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@ -719,6 +719,8 @@ let
stringext = callPackage ../development/ocaml-modules/stringext { };
toml = callPackage ../development/ocaml-modules/toml { };
topkg = callPackage ../development/ocaml-modules/topkg { };
tsdl = callPackage ../development/ocaml-modules/tsdl { };