nixpkgs/pkgs/development/ocaml-modules/tyxml/default.nix

28 lines
743 B
Nix
Raw Normal View History

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