about summary refs log tree commit diff
path: root/third_party/lisp/cl-ansi-text.nix
blob: 5c01e023265ae396600b498adaab29b8296d17bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Enables ANSI colors for printing.
{ depot, ... }:

let src = builtins.fetchGit {
  url = "https://github.com/pnathan/cl-ansi-text.git";
  rev = "257a5f19a2dc92d22f8fd772c0a78923b99b36a8";
};
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"
  ];
}