2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage, cppo, bos, cmdliner, tyxml }:
|
2018-09-16 05:43:10 +01:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "odoc";
|
2018-11-04 06:24:52 +00:00
|
|
|
version = "1.3.0";
|
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;
|
|
|
|
sha256 = "0hjan5aj5zk8j8qyagv9r4hqm469mh207cv2m6kxwgnw0c3cz7sy";
|
2018-09-16 05:43:10 +01:00
|
|
|
};
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ cppo bos cmdliner tyxml ];
|
2018-09-16 05:43:10 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A documentation generator for OCaml";
|
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|