2021-06-06 03:37:28 +02:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
|
2017-05-10 08:35:58 +02:00
|
|
|
|
2021-06-06 03:37:28 +02:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "octavius";
|
|
|
|
version = "1.2.2";
|
2017-05-10 08:35:58 +02:00
|
|
|
|
2021-06-06 03:37:28 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml-doc";
|
|
|
|
repo = "octavius";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-/S6WpIo1c5J9uM3xgtAM/elhnsl0XimnIFsKy3ootbA=";
|
2021-01-21 01:24:35 +01:00
|
|
|
};
|
2017-05-10 08:35:58 +02:00
|
|
|
|
2021-06-06 03:37:28 +02:00
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
2017-05-10 08:35:58 +02:00
|
|
|
|
2021-06-06 03:37:28 +02:00
|
|
|
doCheck = true;
|
2017-05-10 08:35:58 +02:00
|
|
|
|
2021-06-06 03:37:28 +02:00
|
|
|
meta = with lib; {
|
2021-01-21 01:24:35 +01:00
|
|
|
description = "Ocamldoc comment syntax parser";
|
|
|
|
homepage = "https://github.com/ocaml-doc/octavius";
|
2021-06-06 03:37:28 +02:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
2021-01-21 01:24:35 +01:00
|
|
|
};
|
2017-05-10 08:35:58 +02:00
|
|
|
}
|