nixpkgs-suyu/pkgs/development/ocaml-modules/otoml/default.nix
2021-07-26 09:41:10 +02:00

32 lines
627 B
Nix

{ lib, fetchFromGitHub, buildDunePackage
, menhir
, menhirLib
, uutf
}:
buildDunePackage rec {
pname = "otoml";
version = "0.9.0";
useDune2 = true;
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "dmbaturin";
repo = pname;
rev = version;
sha256 = "0l0c60rzgk11y8xq05kr8q9hkzb3c8vi995mq84x98ys73wb42j3";
};
buildInputs = [ menhir ];
propagatedBuildInputs = [ menhirLib uutf ];
meta = {
description = "A TOML parsing and manipulation library for OCaml";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}