feat(third_party/lisp): Add derivation for cl-ansi-text

This commit is contained in:
Vincent Ambo 2020-01-10 00:38:35 +00:00
parent b90a5bbfbc
commit 4adaf29043

19
third_party/lisp/cl-ansi-text.nix vendored Normal file
View 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"
];
}