2019-09-23 06:53:20 +01:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
|
|
|
, astring, cmdliner, cppo, fpath, result, tyxml
|
|
|
|
}:
|
2018-09-16 05:43:10 +01:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "odoc";
|
2020-06-19 09:25:09 +01:00
|
|
|
version = "1.5.1";
|
2018-11-05 10:21:46 +00:00
|
|
|
|
2018-09-16 05:43:10 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml";
|
2018-11-05 10:21:46 +00:00
|
|
|
repo = pname;
|
2018-11-04 06:24:52 +00:00
|
|
|
rev = version;
|
2020-06-19 09:25:09 +01:00
|
|
|
sha256 = "0z2nisg1vb5xlk41hqw8drvj90v52wli7zvnih6a844cg6xsvvj2";
|
2018-09-16 05:43:10 +01:00
|
|
|
};
|
|
|
|
|
2019-09-23 06:53:20 +01:00
|
|
|
buildInputs = [ astring cmdliner cppo fpath result tyxml ];
|
2018-09-16 05:43:10 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A documentation generator for OCaml";
|
2019-09-23 06:53:20 +01:00
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2018-09-16 05:43:10 +01:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|