1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 re,
6 uutf,
7}:
8
9buildDunePackage rec {
10 pname = "tyxml";
11 version = "4.6.0";
12
13 src = fetchurl {
14 url = "https://github.com/ocsigen/tyxml/releases/download/${version}/tyxml-${version}.tbz";
15 hash = "sha256-v+tnPGtOEgpOykxIRIrdR9w/jQLCtA9j/9zMTpHJAt0=";
16 };
17
18 propagatedBuildInputs = [
19 uutf
20 re
21 ];
22
23 meta = with lib; {
24 homepage = "http://ocsigen.org/tyxml/";
25 description = "Library that makes it almost impossible for your OCaml programs to generate wrong XML output, using static typing";
26 license = licenses.lgpl21;
27 maintainers = with maintainers; [
28 gal_bolle
29 vbgl
30 ];
31 };
32
33}