feat(third_party/lisp): Add derivation for cl-ansi-text
This commit is contained in:
parent
b90a5bbfbc
commit
4adaf29043
1 changed files with 19 additions and 0 deletions
19
third_party/lisp/cl-ansi-text.nix
vendored
Normal file
19
third_party/lisp/cl-ansi-text.nix
vendored
Normal file
|
@ -0,0 +1,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"
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue