mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
26 lines
586 B
Nix
26 lines
586 B
Nix
{ lib, fetchFromGitHub, buildDunePackage
|
|
, iso8601, menhir
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "toml";
|
|
version = "7.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml-toml";
|
|
repo = "to.ml";
|
|
rev = version;
|
|
sha256 = "sha256-VEZQTFPwAGShCBGbKUiNOIY1zA/JdTpXU0ZIGNWopnQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ 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 ];
|
|
};
|
|
}
|