2022-05-14 19:14:53 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
buildDunePackage,
|
2021-07-19 07:31:51 +00:00
|
|
|
menhir,
|
|
|
|
menhirLib,
|
|
|
|
uutf,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "otoml";
|
2024-04-16 03:13:53 +00:00
|
|
|
version = "1.0.5";
|
2021-07-19 07:31:51 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dmbaturin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-04-16 03:13:53 +00:00
|
|
|
sha256 = "sha256-e9Bqd6KHorglLMzvsjakyYt/CLZR3yI/yZPl/rnbkDE=";
|
2021-07-19 07:31:51 +00:00
|
|
|
};
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
nativeBuildInputs = [ menhir ];
|
2021-07-19 07:31:51 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
menhirLib
|
|
|
|
uutf
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "TOML parsing and manipulation library for OCaml";
|
2022-10-01 04:20:00 +00:00
|
|
|
changelog = "https://github.com/dmbaturin/otoml/raw/${version}/CHANGELOG.md";
|
2021-07-19 07:31:51 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|