diff options
author | Vincent Ambo <Vincent Ambo> | 2020-01-09T00·17+0000 |
---|---|---|
committer | Vincent Ambo <Vincent Ambo> | 2020-01-09T00·17+0000 |
commit | 07ee2569328fe89090624c066c0547485d3a417d (patch) | |
tree | 3055b39690f502a05baa78ef7fc06fd8afa0a540 /third_party/lisp | |
parent | d9e1075e280098346c836b922be7b67a2c09a9f2 (diff) |
feat(third_party/lisp): Add derivation for babel r/353
Diffstat (limited to 'third_party/lisp')
-rw-r--r-- | third_party/lisp/babel.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/third_party/lisp/babel.nix b/third_party/lisp/babel.nix new file mode 100644 index 000000000000..ba367df9ad82 --- /dev/null +++ b/third_party/lisp/babel.nix @@ -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" + ]; +} |