about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-10T00·38+0000
committerVincent Ambo <Vincent Ambo>2020-01-10T00·38+0000
commitb90a5bbfbcd1fc8d0184433eddb1c08f8492fa7e (patch)
tree0af90a3a44108cb222fdaaf9548c16d82fb9c7c8
parent98836812ebdfc6f6d01c23669939c2e24551e4ed (diff)
feat(third_party/lisp): Add derivation for cl-colors2 r/367
-rw-r--r--third_party/lisp/cl-colors2.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/third_party/lisp/cl-colors2.nix b/third_party/lisp/cl-colors2.nix
new file mode 100644
index 000000000000..44417d7d949c
--- /dev/null
+++ b/third_party/lisp/cl-colors2.nix
@@ -0,0 +1,21 @@
+
+{ pkgs, ... }:
+
+let src = builtins.fetchGit {
+  url = "https://notabug.org/cage/cl-colors2.git";
+  rev = "795aedee593b095fecde574bd999b520dd03ed24";
+};
+in pkgs.nix.buildLisp.library {
+  name = "cl-colors2";
+  deps = with pkgs.third_party.lisp; [
+    alexandria
+    cl-ppcre
+  ];
+
+  srcs = map (f: src + ("/" + f)) [
+    "package.lisp"
+    "colors.lisp"
+    "colornames.lisp"
+    "hexcolors.lisp"
+  ];
+}