summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/xtmpl/default.nix
blob: e07dffa2b8b71087484e2ee171882962d37903cb (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
34
35
36
37
{
  lib,
  buildDunePackage,
  fetchFromGitLab,
  iri,
  logs,
  re,
  sedlex,
  uutf,
}:

buildDunePackage rec {
  pname = "xtmpl";
  version = "1.1.0";
  src = fetchFromGitLab {
    domain = "framagit.org";
    owner = "zoggy";
    repo = "xtmpl";
    tag = version;
    hash = "sha256-CgVbSjHuRp+5IZdfkxGzaBP8p7pQdXu6S/MMgiPMw3E=";
  };

  propagatedBuildInputs = [
    iri
    logs
    re
    sedlex
    uutf
  ];

  meta = {
    description = "XML templating library for OCaml";
    homepage = "https://www.good-eris.net/xtmpl/";
    license = lib.licenses.lgpl3;
    maintainers = with lib.maintainers; [ regnat ];
  };
}