feat(third_party/lisp): Add derivation for babel
This commit is contained in:
parent
d9e1075e28
commit
07ee256932
1 changed files with 31 additions and 0 deletions
31
third_party/lisp/babel.nix
vendored
Normal file
31
third_party/lisp/babel.nix
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Babel is an encoding conversion library for Common Lisp.
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
let src = builtins.fetchGit {
|
||||||
|
url = "https://github.com/cl-babel/babel.git";
|
||||||
|
rev = "ec9a17cdbdba3c1dd39609fc7961cfb3f0aa260e";
|
||||||
|
};
|
||||||
|
in pkgs.nix.buildLisp.library {
|
||||||
|
name = "babel";
|
||||||
|
deps = [ pkgs.third_party.lisp.alexandria ];
|
||||||
|
|
||||||
|
srcs = map (f: src + ("/src/" + f)) [
|
||||||
|
"packages.lisp"
|
||||||
|
"encodings.lisp"
|
||||||
|
"enc-ascii.lisp"
|
||||||
|
"enc-ebcdic.lisp"
|
||||||
|
"enc-ebcdic-int.lisp"
|
||||||
|
"enc-iso-8859.lisp"
|
||||||
|
"enc-unicode.lisp"
|
||||||
|
"enc-cp1251.lisp"
|
||||||
|
"enc-cp1252.lisp"
|
||||||
|
"jpn-table.lisp"
|
||||||
|
"enc-jpn.lisp"
|
||||||
|
"enc-gbk.lisp"
|
||||||
|
"enc-koi8.lisp"
|
||||||
|
"external-format.lisp"
|
||||||
|
"strings.lisp"
|
||||||
|
"gbk-map.lisp"
|
||||||
|
"sharp-backslash.lisp"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue