nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitLab,
5 iri,
6 logs,
7 re,
8 sedlex,
9 uutf,
10}:
11
12buildDunePackage rec {
13 pname = "xtmpl";
14 version = "1.1.0";
15 src = fetchFromGitLab {
16 domain = "framagit.org";
17 owner = "zoggy";
18 repo = "xtmpl";
19 tag = version;
20 hash = "sha256-CgVbSjHuRp+5IZdfkxGzaBP8p7pQdXu6S/MMgiPMw3E=";
21 };
22
23 propagatedBuildInputs = [
24 iri
25 logs
26 re
27 sedlex
28 uutf
29 ];
30
31 meta = {
32 description = "XML templating library for OCaml";
33 homepage = "https://www.good-eris.net/xtmpl/";
34 license = lib.licenses.lgpl3;
35 maintainers = with lib.maintainers; [ regnat ];
36 };
37}