3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.doc-ock-xml: init at 1.2.1

This commit is contained in:
Vincent Laporte 2018-09-16 04:37:08 +00:00 committed by Vincent Laporte
parent 41f06396cc
commit 886acaff11
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, dune, doc-ock, menhir, xmlm }:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-doc-ock-xml-${version}";
version = "1.2.1";
src = fetchFromGitHub {
owner = "ocaml-doc";
repo = "doc-ock-xml";
rev = "v${version}";
sha256 = "1s27ri7vj9ixi5p5ixg6g6invk96807bvxbqjrr1dm8sxgl1nd20";
};
buildInputs = [ ocaml findlib dune ];
propagatedBuildInputs = [ doc-ock menhir xmlm ];
inherit (dune) installPhase;
meta = {
description = "XML printer and parser for Doc-Ock";
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
inherit (src.meta) homepage;
};
}

View file

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