depot/third_party/nixpkgs/pkgs/development/tools/ocaml/ocp-index/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

28 lines
773 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, cppo, ocp-indent, cmdliner, re }:
buildDunePackage rec {
pname = "ocp-index";
version = "1.3.6";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocp-index";
rev = version;
hash = "sha256-EgRpC58NBVFO1w0xx11CnonatU2H7bECsEk6Y4c/odY=";
};
nativeBuildInputs = [ cppo ];
buildInputs = [ cmdliner re ];
propagatedBuildInputs = [ ocp-indent ];
meta = {
homepage = "https://www.typerex.org/ocp-index.html";
description = "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 ];
};
}