2023-01-11 07:51:40 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
2020-04-24 23:36:52 +00:00
|
|
|
, iso8601, menhir
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "toml";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "7.1.0";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
duneVersion = "3";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml-toml";
|
|
|
|
repo = "to.ml";
|
2021-02-05 17:12:51 +00:00
|
|
|
rev = version;
|
2023-01-11 07:51:40 +00:00
|
|
|
hash = "sha256-uk14Py7lEEDJhFsRRtStXqKlJLtx0o8eS9DEIes4SHw=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
nativeBuildInputs = [ menhir ];
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|