2019-12-18 09:22:00 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage, ocp-build, 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";
|
2019-03-10 13:55:50 +00:00
|
|
|
version = "1.1.9";
|
2015-01-25 10:31:06 +00:00
|
|
|
|
2016-11-27 16:54:44 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OCamlPro";
|
2019-12-18 09:22:00 +00:00
|
|
|
repo = pname;
|
2016-11-27 16:54:44 +00:00
|
|
|
rev = version;
|
2019-03-10 13:55:50 +00:00
|
|
|
sha256 = "0dq1kap16xfajc6gg9hbiadax782winpvxnr3dkm2ncznnxds37p";
|
2016-11-27 16:54:44 +00:00
|
|
|
};
|
|
|
|
|
2019-12-18 09:22:00 +00:00
|
|
|
buildInputs = [ ocp-build 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 = {
|
|
|
|
homepage = http://typerex.ocamlpro.com/ocp-index.html;
|
|
|
|
description = "A simple and light-weight documentation extractor for OCaml";
|
|
|
|
license = stdenv.lib.licenses.lgpl3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|