Add tyxml (XML library for ocaml)

This commit is contained in:
Florent Becker 2014-06-08 12:12:27 +02:00 committed by Michael Raskin
parent 02a4e40474
commit da6859722d
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{stdenv, fetchurl, ocaml, findlib, ocaml_oasis}:
stdenv.mkDerivation {
name = "tyxml-3.0.0";
src = fetchurl {
url = http://ocsigen.org/download/tyxml-3.0.0.tar.gz;
sha256 = "0cvbmyg4g0lg4f23032cjlxqklisccbjgj47117wm6gva8xi7xa3";
};
buildInputs = [ocaml findlib ocaml_oasis];
createFindlibDestdir = true;
configurePhase = ''
make setup-dev.exe
./setup-dev.exe -configure --prefix $out
'';
meta = {
homepage = http://ocsigen.org/tyxml/;
description = "Tyxml is a library that makes it almost impossible for your OCaml programs to generate wrong XML ouput, using static typing.";
license = "LGPL";
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.gal_bolle
];
};
}

View File

@ -3403,6 +3403,8 @@ let
ounit = callPackage ../development/ocaml-modules/ounit { };
tyxml = callPackage ../development/ocaml-modules/tyxml { };
ulex = callPackage ../development/ocaml-modules/ulex { };
ulex08 = callPackage ../development/ocaml-modules/ulex/0.8 {