5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
28 lines
775 B
Nix
28 lines
775 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, cppo, ocp-indent, cmdliner, re }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ocp-index";
|
|
version = "1.3.5";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OCamlPro";
|
|
repo = "ocp-index";
|
|
rev = version;
|
|
hash = "sha256-Zn3BPaMB68V363OljFFdmLyYf+S0wFJK44L8t1TSG1Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cppo ];
|
|
buildInputs = [ cmdliner re ];
|
|
|
|
propagatedBuildInputs = [ ocp-indent ];
|
|
|
|
meta = {
|
|
homepage = "https://www.typerex.org/ocp-index.html";
|
|
description = "A simple and light-weight documentation extractor for OCaml";
|
|
changelog = "https://github.com/OCamlPro/ocp-index/raw/${version}/CHANGES.md";
|
|
license = lib.licenses.lgpl3;
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
};
|
|
}
|