nixpkgs/pkgs/development/ocaml-modules/otoml/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
712 B
Nix
Raw Normal View History

{
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
};
nativeBuildInputs = [ menhir ];
2021-07-19 07:31:51 +00:00
propagatedBuildInputs = [
menhirLib
uutf
];
meta = {
description = "TOML parsing and manipulation library for OCaml";
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;
};
}