2016-10-09 19:10:46 +01:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, ocaml_oasis, camlp4, uutf, markup, ppx_tools, re }:
|
2014-06-08 11:12:27 +01:00
|
|
|
|
2016-05-30 14:55:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tyxml";
|
|
|
|
version = "3.6.0";
|
|
|
|
name = "${pname}-${version}";
|
2014-06-08 11:12:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-30 14:55:30 +01:00
|
|
|
url = "http://github.com/ocsigen/tyxml/archive/${version}.tar.gz";
|
|
|
|
sha256 = "1rz0f48x8p1m30723rn5v85pp7rd0spr04sd7gzryy99vn3ianga";
|
2014-06-08 11:12:27 +01:00
|
|
|
};
|
|
|
|
|
2016-10-09 19:10:46 +01:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
2014-10-15 10:13:04 +01:00
|
|
|
|
2016-05-30 14:55:30 +01:00
|
|
|
propagatedBuildInputs = [uutf re ppx_tools markup];
|
2014-06-08 11:12:27 +01:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2016-05-30 14:55:30 +01:00
|
|
|
configureFlags = "--enable-syntax";
|
|
|
|
|
2014-09-30 05:25:31 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-06-08 11:12:27 +01: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 05:25:31 +01:00
|
|
|
license = licenses.lgpl21;
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-09-30 05:25:31 +01:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
gal_bolle vbgl
|
2014-06-08 11:12:27 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2014-09-06 09:44:20 +01:00
|
|
|
}
|