2020-01-09 01:17:39 +01:00
|
|
|
# Babel is an encoding conversion library for Common Lisp.
|
2021-12-14 22:32:27 +01:00
|
|
|
{ depot, pkgs, ... }:
|
2020-01-09 01:17:39 +01:00
|
|
|
|
2021-12-14 22:32:27 +01:00
|
|
|
let src = with pkgs; srcOnly lispPackages.babel;
|
2020-02-21 13:47:29 +01:00
|
|
|
in depot.nix.buildLisp.library {
|
2020-01-09 01:17:39 +01:00
|
|
|
name = "babel";
|
2021-08-14 00:51:44 +02:00
|
|
|
deps = [
|
|
|
|
depot.third_party.lisp.alexandria
|
|
|
|
depot.third_party.lisp.trivial-features
|
|
|
|
];
|
2020-01-09 01:17:39 +01:00
|
|
|
|
|
|
|
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"
|
|
|
|
];
|
|
|
|
}
|