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 { buildDunePackage rec {
pname = "ocp-index"; pname = "ocp-index";
version = "1.2.2"; version = "1.3.1";
useDune2 = true; useDune2 = true;
src = fetchzip { src = fetchFromGitHub {
url = "https://github.com/OCamlPro/ocp-index/archive/${version}.tar.gz"; owner = "OCamlPro";
sha256 = "0k4i0aabyn750f4wqbnk0yv10kdjd6nhjw2pbmpc4cz639qcsm40"; repo = "ocp-index";
rev = version;
sha256 = "120w72fqymjp6ibicbp31jyx9yv34mdvgkr0zdfpzvfb7lgd8rc7";
}; };
buildInputs = [ cppo cmdliner re ]; buildInputs = [ cppo cmdliner re ];
@ -18,6 +20,7 @@ buildDunePackage rec {
meta = { meta = {
homepage = "https://www.typerex.org/ocp-index.html"; homepage = "https://www.typerex.org/ocp-index.html";
description = "A simple and light-weight documentation extractor for OCaml"; 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; license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ vbgl ]; maintainers = with lib.maintainers; [ vbgl ];
}; };