2021-08-12 01:00:00 +01:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, cppo, ocp-indent, cmdliner, re }:
|
2015-01-25 10:31:06 +00:00
|
|
|
|
2019-12-18 09:22:00 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ocp-index";
|
2022-10-01 05:20:00 +01:00
|
|
|
version = "1.3.4";
|
2015-01-25 10:31:06 +00:00
|
|
|
|
2022-10-01 05:20:00 +01:00
|
|
|
minimalOCamlVersion = "4.08";
|
2021-02-13 08:36:21 +00:00
|
|
|
|
2021-08-12 01:00:00 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OCamlPro";
|
|
|
|
repo = "ocp-index";
|
|
|
|
rev = version;
|
2022-10-01 05:20:00 +01:00
|
|
|
sha256 = "sha256-a7SBGHNKUstfrdHx9KI33tYpvzTwIGhs4Hfie5EeKww=";
|
2016-11-27 16:54:44 +00:00
|
|
|
};
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cppo ];
|
|
|
|
buildInputs = [ cmdliner re ];
|
2015-01-25 10:31:06 +00:00
|
|
|
|
2019-12-18 09:22:00 +00:00
|
|
|
propagatedBuildInputs = [ ocp-indent ];
|
2015-01-25 10:31:06 +00:00
|
|
|
|
|
|
|
meta = {
|
2021-02-26 04:20:00 +00:00
|
|
|
homepage = "https://www.typerex.org/ocp-index.html";
|
2015-01-25 10:31:06 +00:00
|
|
|
description = "A simple and light-weight documentation extractor for OCaml";
|
2021-08-12 01:00:00 +01:00
|
|
|
changelog = "https://github.com/OCamlPro/ocp-index/raw/${version}/CHANGES.md";
|
2020-02-24 17:19:48 +00:00
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
2015-01-25 10:31:06 +00:00
|
|
|
};
|
|
|
|
}
|