8e65f7f0cc
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
30 lines
787 B
Nix
30 lines
787 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, cppo, ocp-indent, cmdliner, re }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ocp-index";
|
|
version = "1.3.1";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OCamlPro";
|
|
repo = "ocp-index";
|
|
rev = version;
|
|
sha256 = "120w72fqymjp6ibicbp31jyx9yv34mdvgkr0zdfpzvfb7lgd8rc7";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ cppo ];
|
|
buildInputs = [ cmdliner re ];
|
|
|
|
propagatedBuildInputs = [ ocp-indent ];
|
|
|
|
meta = {
|
|
homepage = "https://www.typerex.org/ocp-index.html";
|
|
description = "A simple and light-weight documentation extractor for OCaml";
|
|
changelog = "https://github.com/OCamlPro/ocp-index/raw/${version}/CHANGES.md";
|
|
license = lib.licenses.lgpl3;
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
};
|
|
}
|