depot/third_party/nixpkgs/pkgs/development/tools/ocaml/ocp-index/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
671 B
Nix

{ lib, fetchurl, buildDunePackage, ocp-build, ocp-indent, cmdliner, re }:
buildDunePackage rec {
pname = "ocp-index";
version = "1.2";
src = fetchurl {
url = "https://github.com/OCamlPro/ocp-index/releases/download/${version}/ocp-index-${version}.tbz";
sha256 = "1lchw02sakjjppmzr0rzlarwbg1lc2bl7pwcfpsiycnaz46x6gmr";
};
buildInputs = [ ocp-build cmdliner re ];
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 ];
};
}