2021-08-12 14:41:47 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, cppo, ocp-indent, cmdliner, re }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ocp-index";
|
2022-10-06 18:32:54 +00:00
|
|
|
version = "1.3.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2021-02-13 14:23:35 +00:00
|
|
|
|
2021-08-12 14:41:47 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OCamlPro";
|
|
|
|
repo = "ocp-index";
|
|
|
|
rev = version;
|
2022-10-06 18:32:54 +00:00
|
|
|
sha256 = "sha256-a7SBGHNKUstfrdHx9KI33tYpvzTwIGhs4Hfie5EeKww=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cppo ];
|
|
|
|
buildInputs = [ cmdliner re ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ ocp-indent ];
|
|
|
|
|
|
|
|
meta = {
|
2021-03-09 03:18:52 +00:00
|
|
|
homepage = "https://www.typerex.org/ocp-index.html";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A simple and light-weight documentation extractor for OCaml";
|
2021-08-12 14:41:47 +00:00
|
|
|
changelog = "https://github.com/OCamlPro/ocp-index/raw/${version}/CHANGES.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|