ocamlPackages.odoc: init at 1.2.0
This commit is contained in:
parent
886acaff11
commit
cbc609ca8c
28
pkgs/development/ocaml-modules/odoc/default.nix
Normal file
28
pkgs/development/ocaml-modules/odoc/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, ocaml, findlib, dune
|
||||||
|
, bos, cmdliner, doc-ock-html, doc-ock-xml
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ocaml${ocaml.version}-odoc-${version}";
|
||||||
|
version = "1.2.0";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ocaml";
|
||||||
|
repo = "odoc";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0ixnhfpm1nw4bvjj8qhcyy283pdr5acqpg5wxwq3n1l4mad79cgh";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib dune cmdliner ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ bos doc-ock-html doc-ock-xml ];
|
||||||
|
|
||||||
|
inherit (dune) installPhase;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A documentation generator for OCaml";
|
||||||
|
license = stdenv.lib.licenses.isc;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||||
|
inherit (ocaml.meta) platforms;
|
||||||
|
inherit (src.meta) homepage;
|
||||||
|
};
|
||||||
|
}
|
@ -539,6 +539,8 @@ let
|
|||||||
|
|
||||||
octavius = callPackage ../development/ocaml-modules/octavius { };
|
octavius = callPackage ../development/ocaml-modules/octavius { };
|
||||||
|
|
||||||
|
odoc = callPackage ../development/ocaml-modules/odoc { };
|
||||||
|
|
||||||
ojquery = callPackage ../development/ocaml-modules/ojquery { };
|
ojquery = callPackage ../development/ocaml-modules/ojquery { };
|
||||||
|
|
||||||
omd = callPackage ../development/ocaml-modules/omd { };
|
omd = callPackage ../development/ocaml-modules/omd { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user