Unverified Commit 1211035b authored by Vincent Laporte's avatar Vincent Laporte Committed by GitHub
Browse files

ocamlPackages.ocp-index: 1.4.0 -> 1.4.1 (#488753)

parents ff8bd246 4f909889
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  fetchurl,
  buildDunePackage,
  cppo,
  ocp-indent,
@@ -8,17 +8,13 @@
  re,
}:

buildDunePackage rec {
buildDunePackage (finalAttrs: {
  pname = "ocp-index";
  version = "1.4.0";
  version = "1.4.1";

  minimalOCamlVersion = "4.08";

  src = fetchFromGitHub {
    owner = "OCamlPro";
    repo = "ocp-index";
    rev = version;
    hash = "sha256-pv6aBJjRkibISpZEnlfyn72smcYEbZoPQoQH2p/JwH0=";
  src = fetchurl {
    url = "https://github.com/OCamlPro/ocp-index/releases/download/${finalAttrs.version}/ocp-index-${finalAttrs.version}.tbz";
    hash = "sha256:59adbd99a9c88106dcf23bc0e3424a00f840fcedee4e4b644eaf0385ada3f911";
  };

  nativeBuildInputs = [ cppo ];
@@ -32,8 +28,8 @@ buildDunePackage rec {
  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";
    changelog = "https://github.com/OCamlPro/ocp-index/raw/${finalAttrs.version}/CHANGES.md";
    license = lib.licenses.lgpl3;
    maintainers = with lib.maintainers; [ vbgl ];
  };
}
})