3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.ocp-index: 1.1.9 → 1.2

This commit is contained in:
Vincent Laporte 2020-02-24 18:19:48 +01:00 committed by Vincent Laporte
parent d02dc3c5fd
commit 9794d1e5fc

View file

@ -1,14 +1,12 @@
{ stdenv, fetchFromGitHub, buildDunePackage, ocp-build, ocp-indent, cmdliner, re, }:
{ lib, fetchurl, buildDunePackage, ocp-build, ocp-indent, cmdliner, re }:
buildDunePackage rec {
pname = "ocp-index";
version = "1.1.9";
version = "1.2";
src = fetchFromGitHub {
owner = "OCamlPro";
repo = pname;
rev = version;
sha256 = "0dq1kap16xfajc6gg9hbiadax782winpvxnr3dkm2ncznnxds37p";
src = fetchurl {
url = "https://github.com/OCamlPro/ocp-index/releases/download/${version}/ocp-index-${version}.tbz";
sha256 = "1lchw02sakjjppmzr0rzlarwbg1lc2bl7pwcfpsiycnaz46x6gmr";
};
buildInputs = [ ocp-build cmdliner re ];
@ -18,7 +16,7 @@ buildDunePackage rec {
meta = {
homepage = http://typerex.ocamlpro.com/ocp-index.html;
description = "A simple and light-weight documentation extractor for OCaml";
license = stdenv.lib.licenses.lgpl3;
maintainers = with stdenv.lib.maintainers; [ vbgl ];
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ vbgl ];
};
}