ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
27 lines
601 B
Nix
27 lines
601 B
Nix
{ lib, fetchFromGitHub, buildDunePackage
|
|
, iso8601, menhir
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "toml";
|
|
version = "6.0.0";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml-toml";
|
|
repo = "to.ml";
|
|
rev = version;
|
|
sha256 = "08ywzqckllvwawl1wpgg7qzvx6jhq7d6vysa0d5hj7qdwq213ggm";
|
|
};
|
|
|
|
buildInputs = [ menhir ];
|
|
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 ];
|
|
};
|
|
}
|