summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/higlo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/higlo/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/higlo/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/higlo/default.nix b/pkgs/development/ocaml-modules/higlo/default.nix
new file mode 100644
index 00000000000..19b2fa8942a
--- /dev/null
+++ b/pkgs/development/ocaml-modules/higlo/default.nix
@@ -0,0 +1,25 @@
+{ lib, buildDunePackage, fetchFromGitLab, sedlex_2, xtmpl }:
+
+buildDunePackage rec {
+  pname = "higlo";
+  version = "0.8";
+  useDune2 = true;
+  src = fetchFromGitLab {
+    domain = "framagit.org";
+    owner = "zoggy";
+    repo = "higlo";
+    rev = version;
+    sha256 = "sha256:09hsbwy5asacgh4gdj0vjpy4kzfnq3qji9szbsbyswsf1nbyczir";
+  };
+
+  propagatedBuildInputs = [ sedlex_2 xtmpl ];
+
+  meta = with lib; {
+    description = "OCaml library for syntax highlighting";
+    inherit (src.meta) homepage;
+    license = licenses.lgpl3;
+    maintainers = with maintainers; [ regnat ];
+  };
+}
+
+