summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/tyxml/default.nix
blob: 13b9351ca8246b880e60642c2aa43034cac61f13 (plain)
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
28
29
30
31
32
33
{
  lib,
  buildDunePackage,
  fetchurl,
  re,
  uutf,
}:

buildDunePackage rec {
  pname = "tyxml";
  version = "4.6.0";

  src = fetchurl {
    url = "https://github.com/ocsigen/tyxml/releases/download/${version}/tyxml-${version}.tbz";
    hash = "sha256-v+tnPGtOEgpOykxIRIrdR9w/jQLCtA9j/9zMTpHJAt0=";
  };

  propagatedBuildInputs = [
    uutf
    re
  ];

  meta = {
    homepage = "http://ocsigen.org/tyxml/";
    description = "Library that makes it almost impossible for your OCaml programs to generate wrong XML output, using static typing";
    license = lib.licenses.lgpl21;
    maintainers = with lib.maintainers; [
      gal_bolle
      vbgl
    ];
  };

}