ocamlPackages.doc-ock: init at 1.2.1
This commit is contained in:
parent
ebf041d4bd
commit
55ef56b260
27
pkgs/development/ocaml-modules/doc-ock/default.nix
Normal file
27
pkgs/development/ocaml-modules/doc-ock/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user