ocamlPackages.ocp-index: 1.2.2 -> 1.3.1

This commit is contained in:
Mario Rodas 2021-08-11 19:00:00 -05:00 committed by Vincent Laporte
parent 3c4854964a
commit dd3049da63

View file

@ -1,14 +1,16 @@
{ lib, fetchzip, buildDunePackage, cppo, ocp-indent, cmdliner, re }:
{ lib, fetchFromGitHub, buildDunePackage, cppo, ocp-indent, cmdliner, re }:
buildDunePackage rec {
pname = "ocp-index";
version = "1.2.2";
version = "1.3.1";
useDune2 = true;
src = fetchzip {
url = "https://github.com/OCamlPro/ocp-index/archive/${version}.tar.gz";
sha256 = "0k4i0aabyn750f4wqbnk0yv10kdjd6nhjw2pbmpc4cz639qcsm40";
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocp-index";
rev = version;
sha256 = "120w72fqymjp6ibicbp31jyx9yv34mdvgkr0zdfpzvfb7lgd8rc7";
};
buildInputs = [ cppo cmdliner re ];
@ -18,6 +20,7 @@ buildDunePackage rec {
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 ];
};