Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitLab, iri, re, sedlex, uutf }:
2
3buildDunePackage rec {
4 pname = "xtmpl";
5 version = "0.19.0";
6 duneVersion = "3";
7 src = fetchFromGitLab {
8 domain = "framagit.org";
9 owner = "zoggy";
10 repo = "xtmpl";
11 rev = version;
12 sha256 = "sha256:0vwj0aayg60wm98d91fg3hmj90730liljy4cn8771dpxvz8m07bw";
13 };
14
15 propagatedBuildInputs = [ iri re sedlex uutf ];
16
17 meta = with lib; {
18 description = "XML templating library for OCaml";
19 homepage = "https://www.good-eris.net/xtmpl/";
20 license = licenses.lgpl3;
21 maintainers = with maintainers; [ regnat ];
22 };
23}