ocamlPackages.doc-ock: init at 1.2.1

This commit is contained in:
Vincent Laporte 2018-09-16 04:24:06 +00:00 committed by Vincent Laporte
parent ebf041d4bd
commit 55ef56b260
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, dune, octavius, cppo }:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-doc-ock-${version}";
version = "1.2.1";
src = fetchFromGitHub {
owner = "ocaml-doc";
repo = "doc-ock";
rev = "v${version}";
sha256 = "090vprm12jrl55yllk1hdzbsqyr107yjs2qnc49yahdhvnr4h5b7";
};
buildInputs = [ ocaml findlib dune cppo ];
propagatedBuildInputs = [ octavius ];
inherit (dune) installPhase;
meta = {
description = "Extract documentation from OCaml files";
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
inherit (src.meta) homepage;
};
}

View File

@ -220,6 +220,8 @@ let
digestif = callPackage ../development/ocaml-modules/digestif { };
doc-ock = callPackage ../development/ocaml-modules/doc-ock { };
dolmen = callPackage ../development/ocaml-modules/dolmen { };
dolog = callPackage ../development/ocaml-modules/dolog { };