2015-01-17 02:23:59 +00:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocaml_oasis, camlp4, uutf }:
|
2014-06-08 10:12:27 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-01-17 02:23:59 +00:00
|
|
|
name = "tyxml-3.4.0";
|
2014-06-08 10:12:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-01-17 02:23:59 +00:00
|
|
|
url = http://github.com/ocsigen/tyxml/archive/3.4.0.tar.gz;
|
|
|
|
sha256 = "10hb0b2j33fjqzmx450ns7dmf4pqmx3gyvr6dk99mghqk13cj5ww";
|
2014-06-08 10:12:27 +00:00
|
|
|
};
|
|
|
|
|
2014-10-15 09:13:04 +00:00
|
|
|
buildInputs = [ocaml findlib ocaml_oasis camlp4];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [uutf];
|
2014-06-08 10:12:27 +00:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2014-09-30 04:25:31 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-06-08 10:12:27 +00:00
|
|
|
homepage = http://ocsigen.org/tyxml/;
|
2014-12-30 02:31:03 +00:00
|
|
|
description = "A library that makes it almost impossible for your OCaml programs to generate wrong XML output, using static typing";
|
2014-09-30 04:25:31 +00:00
|
|
|
license = licenses.lgpl21;
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-09-30 04:25:31 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
gal_bolle vbgl
|
2014-06-08 10:12:27 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2014-09-06 08:44:20 +00:00
|
|
|
}
|