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";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "1.2.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/OCamlPro/ocp-index/archive/${version}.tar.gz";
|
|
|
|
sha256 = "08r7mxdnxmhff37fw4hmrpjgckgi5kaiiiirwp4rmdl594z0h9c8";
|
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 = {
|
|
|
|
homepage = "http://typerex.ocamlpro.com/ocp-index.html";
|
|
|
|
description = "A simple and light-weight documentation extractor for OCaml";
|
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|