4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
33 lines
696 B
Nix
33 lines
696 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildDunePackage
|
|
, menhir
|
|
, menhirLib
|
|
, uutf
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "otoml";
|
|
version = "1.0.2";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dmbaturin";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-Xd3fHBN1f+tvgRFCxD/Gz8/lIvezknz7Zy3EtdqoTEM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ menhir ];
|
|
|
|
propagatedBuildInputs = [ menhirLib uutf ];
|
|
|
|
meta = {
|
|
description = "A TOML parsing and manipulation library for OCaml";
|
|
changelog = "https://github.com/dmbaturin/otoml/raw/${version}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
inherit (src.meta) homepage;
|
|
};
|
|
}
|