about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-09-16 04:33:31 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2018-09-24 05:08:37 +0000
commit41f06396ccb6fe0c200c888b7558853b39c98a4d (patch)
treef16c51dc66100e94db6f9bf3f36cd1b1e480d7c5 /pkgs
parent55ef56b26012222db06bbdf123b29d11d10d6b34 (diff)
downloadnixlib-41f06396ccb6fe0c200c888b7558853b39c98a4d.tar
nixlib-41f06396ccb6fe0c200c888b7558853b39c98a4d.tar.gz
nixlib-41f06396ccb6fe0c200c888b7558853b39c98a4d.tar.bz2
nixlib-41f06396ccb6fe0c200c888b7558853b39c98a4d.tar.lz
nixlib-41f06396ccb6fe0c200c888b7558853b39c98a4d.tar.xz
nixlib-41f06396ccb6fe0c200c888b7558853b39c98a4d.tar.zst
nixlib-41f06396ccb6fe0c200c888b7558853b39c98a4d.zip
ocamlPackages.doc-ock-html: init at 1.2.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/doc-ock-html/default.nix27
-rw-r--r--pkgs/top-level/ocaml-packages.nix2
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/doc-ock-html/default.nix b/pkgs/development/ocaml-modules/doc-ock-html/default.nix
new file mode 100644
index 000000000000..cb2756b0977c
--- /dev/null
+++ b/pkgs/development/ocaml-modules/doc-ock-html/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, ocaml, findlib, dune, doc-ock, tyxml, xmlm }:
+
+stdenv.mkDerivation rec {
+  name = "ocaml${ocaml.version}-doc-ock-html-${version}";
+  version = "1.2.1";
+
+  src = fetchFromGitHub {
+    owner = "ocaml-doc";
+    repo = "doc-ock-html";
+    rev = "v${version}";
+    sha256 = "1y620h48qrplmcm78g7c78zibpkai4j3icwmnx95zb3r8xq8554y";
+  };
+
+  buildInputs = [ ocaml findlib dune ];
+
+  propagatedBuildInputs = [ doc-ock tyxml xmlm ];
+
+  inherit (dune) installPhase;
+
+  meta = {
+    description = "From doc-ock to HTML";
+    license = stdenv.lib.licenses.isc;
+    maintainers = [ stdenv.lib.maintainers.vbgl ];
+    inherit (ocaml.meta) platforms;
+    inherit (src.meta) homepage;
+  };
+}
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index 418332c7212e..a079673f075c 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -222,6 +222,8 @@ let
 
     doc-ock =  callPackage ../development/ocaml-modules/doc-ock { };
 
+    doc-ock-html =  callPackage ../development/ocaml-modules/doc-ock-html { };
+
     dolmen =  callPackage ../development/ocaml-modules/dolmen { };
 
     dolog = callPackage ../development/ocaml-modules/dolog { };