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

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

34 lines
696 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, buildDunePackage
2021-07-19 09:31:51 +02:00
, menhir
, menhirLib
, uutf
}:
buildDunePackage rec {
pname = "otoml";
version = "1.0.2";
2021-07-19 09:31:51 +02:00
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "dmbaturin";
repo = pname;
rev = version;
sha256 = "sha256-Xd3fHBN1f+tvgRFCxD/Gz8/lIvezknz7Zy3EtdqoTEM=";
2021-07-19 09:31:51 +02:00
};
nativeBuildInputs = [ menhir ];
2021-07-19 09:31:51 +02:00
propagatedBuildInputs = [ menhirLib uutf ];
meta = {
description = "A TOML parsing and manipulation library for OCaml";
changelog = "https://github.com/dmbaturin/otoml/raw/${version}/CHANGELOG.md";
2021-07-19 09:31:51 +02:00
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}