about summary refs log tree commit diff
path: root/third_party/lisp/cl-ansi-text.nix
blob: 88fcae318b7b596802f647111bedec44d91157e2 (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.
{ pkgs, ... }:

let src = builtins.fetchGit {
  url = "https://github.com/pnathan/cl-ansi-text.git";
  rev = "257a5f19a2dc92d22f8fd772c0a78923b99b36a8";
};
in pkgs.nix.buildLisp.library {
  name = "cl-ansi-text";
  deps = with pkgs.third_party.lisp; [
    alexandria
    cl-colors2
  ];

  srcs = map (f: src + ("/src/" + f)) [
    "cl-ansi-text.lisp"
    "define-colors.lisp"
  ];
}