nixpkgs/pkgs/development/tools/ocaml/ocp-index/default.nix

28 lines
738 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, cppo, ocp-indent, cmdliner, re }:
buildDunePackage rec {
pname = "ocp-index";
version = "1.3.1";
2021-02-13 08:36:21 +00:00
useDune2 = true;
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocp-index";
rev = version;
sha256 = "120w72fqymjp6ibicbp31jyx9yv34mdvgkr0zdfpzvfb7lgd8rc7";
};
2020-08-28 06:37:21 +01:00
buildInputs = [ cppo 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";
2020-02-24 17:19:48 +00:00
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ vbgl ];
};
}