2020-09-25 04:45:31 +00:00
|
|
|
{ lib, fetchzip, buildDunePackage, cppo, ocp-indent, cmdliner, re }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ocp-index";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "1.2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/OCamlPro/ocp-index/archive/${version}.tar.gz";
|
2021-03-09 03:18:52 +00:00
|
|
|
sha256 = "0k4i0aabyn750f4wqbnk0yv10kdjd6nhjw2pbmpc4cz639qcsm40";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
buildInputs = [ cppo 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";
|
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|