summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/xtmpl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/xtmpl/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/xtmpl/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/xtmpl/default.nix b/pkgs/development/ocaml-modules/xtmpl/default.nix
new file mode 100644
index 00000000000..7c2f0a01e53
--- /dev/null
+++ b/pkgs/development/ocaml-modules/xtmpl/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildDunePackage, fetchFromGitLab, iri, re, sedlex_2, uutf }:
+
+buildDunePackage rec {
+  pname = "xtmpl";
+  version = "0.19.0";
+  useDune2 = true;
+  src = fetchFromGitLab {
+    domain = "framagit.org";
+    owner = "zoggy";
+    repo = "xtmpl";
+    rev = version;
+    sha256 = "sha256:0vwj0aayg60wm98d91fg3hmj90730liljy4cn8771dpxvz8m07bw";
+  };
+
+  propagatedBuildInputs = [ iri re sedlex_2 uutf ];
+
+  meta = with lib; {
+    description = "XML templating library for OCaml";
+    homepage = "https://www.good-eris.net/xtmpl/";
+    license = licenses.lgpl3;
+    maintainers = with maintainers; [ regnat ];
+  };
+}