diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-09-16 04:33:31 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2018-09-24 05:08:37 +0000 |
commit | 41f06396ccb6fe0c200c888b7558853b39c98a4d (patch) | |
tree | f16c51dc66100e94db6f9bf3f36cd1b1e480d7c5 /pkgs/development/ocaml-modules/doc-ock-html | |
parent | 55ef56b26012222db06bbdf123b29d11d10d6b34 (diff) | |
download | nixlib-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/development/ocaml-modules/doc-ock-html')
-rw-r--r-- | pkgs/development/ocaml-modules/doc-ock-html/default.nix | 27 |
1 files changed, 27 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; + }; +} |