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
637 B
Nix
Raw Normal View History

2023-01-02 07:53:54 +00:00
{ lib, fetchFromGitHub, buildDunePackage
2019-07-23 19:26:54 +00:00
, iso8601, menhir
}:
buildDunePackage rec {
pname = "toml";
2023-01-02 07:53:54 +00:00
version = "7.1.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
2021-01-18 07:21:48 +00:00
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;
2023-01-02 07:53:54 +00:00
hash = "sha256-uk14Py7lEEDJhFsRRtStXqKlJLtx0o8eS9DEIes4SHw=";
};
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 ];
};
}