summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/tyxml/default.nix
blob: d3a0b3557c5252ef7f9327035c9d060e94479a5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchurl, ocaml, findlib, ocaml_oasis, camlp4, uutf }:

stdenv.mkDerivation {
  name = "tyxml-3.4.0";

  src = fetchurl {
    url = http://github.com/ocsigen/tyxml/archive/3.4.0.tar.gz;
    sha256 = "10hb0b2j33fjqzmx450ns7dmf4pqmx3gyvr6dk99mghqk13cj5ww";
    };

  buildInputs = [ocaml findlib ocaml_oasis camlp4];

  propagatedBuildInputs = [uutf];

  createFindlibDestdir = true;

  meta = with stdenv.lib; {
    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";
    license = licenses.lgpl21;
    platforms = ocaml.meta.platforms;
    maintainers = with maintainers; [
      gal_bolle vbgl
      ];
  };

}