about summary refs log tree commit diff
path: root/third_party/lisp/cl-colors.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lisp/cl-colors.nix')
-rw-r--r--third_party/lisp/cl-colors.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/third_party/lisp/cl-colors.nix b/third_party/lisp/cl-colors.nix
new file mode 100644
index 000000000000..2217e68ce70b
--- /dev/null
+++ b/third_party/lisp/cl-colors.nix
@@ -0,0 +1,24 @@
+{
+  depot ? import <depot> {},
+  universe ? import <universe> {},
+  ...
+}:
+
+let
+  src = builtins.fetchGit {
+    url = "https://github.com/tpapp/cl-colors.git";
+    rev = "827410584553f5c717eec6182343b7605f707f75";
+  };
+in depot.nix.buildLisp.library {
+  name = "cl-colors";
+  deps = [
+    depot.third_party.lisp.alexandria
+    universe.third_party.lisp.let-plus
+  ];
+  srcs = [
+    "${src}/package.lisp"
+    "${src}/colors.lisp"
+    "${src}/colornames.lisp"
+    "${src}/hexcolors.lisp"
+  ];
+}