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

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

28 lines
607 B
Nix
Raw Normal View History

2019-07-23 19:26:54 +00:00
{ lib, fetchFromGitHub, buildDunePackage
, iso8601, menhir
}:
buildDunePackage rec {
pname = "toml";
2021-01-18 07:21:48 +00:00
version = "6.0.0";
useDune2 = true;
2019-07-23 19:26:54 +00:00
src = fetchFromGitHub {
owner = "ocaml-toml";
repo = "to.ml";
2021-01-18 07:21:48 +00:00
rev = version;
sha256 = "08ywzqckllvwawl1wpgg7qzvx6jhq7d6vysa0d5hj7qdwq213ggm";
2019-07-23 19:26:54 +00:00
};
nativeBuildInputs = [ menhir ];
2019-07-23 19:26:54 +00:00
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 ];
};
}