about summary refs log tree commit diff
path: root/third_party/lisp/cl-ansi-text.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lisp/cl-ansi-text.nix')
-rw-r--r--third_party/lisp/cl-ansi-text.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/lisp/cl-ansi-text.nix b/third_party/lisp/cl-ansi-text.nix
new file mode 100644
index 000000000000..0e3401524755
--- /dev/null
+++ b/third_party/lisp/cl-ansi-text.nix
@@ -0,0 +1,16 @@
+# Enables ANSI colors for printing.
+{ depot, pkgs, ... }:
+
+let src = with pkgs; srcOnly lispPackages.cl-ansi-text;
+in depot.nix.buildLisp.library {
+  name = "cl-ansi-text";
+  deps = with depot.third_party.lisp; [
+    alexandria
+    cl-colors2
+  ];
+
+  srcs = map (f: src + ("/src/" + f)) [
+    "cl-ansi-text.lisp"
+    "define-colors.lisp"
+  ];
+}