2020-01-10 01:27:25 +01:00
|
|
|
# cl-ppcre is a Common Lisp regular expression library.
|
2021-12-14 22:32:27 +01:00
|
|
|
{ depot, pkgs, ... }:
|
2020-01-10 01:27:25 +01:00
|
|
|
|
2021-12-14 22:32:27 +01:00
|
|
|
let src = with pkgs; srcOnly lispPackages.cl-ppcre;
|
2020-02-21 13:47:29 +01:00
|
|
|
in depot.nix.buildLisp.library {
|
2020-01-17 00:01:07 +01:00
|
|
|
name = "cl-ppcre";
|
2020-01-10 01:27:25 +01:00
|
|
|
|
|
|
|
srcs = map (f: src + ("/" + f)) [
|
|
|
|
"packages.lisp"
|
|
|
|
"specials.lisp"
|
|
|
|
"util.lisp"
|
|
|
|
"errors.lisp"
|
|
|
|
"charset.lisp"
|
|
|
|
"charmap.lisp"
|
|
|
|
"chartest.lisp"
|
|
|
|
"lexer.lisp"
|
|
|
|
"parser.lisp"
|
|
|
|
"regex-class.lisp"
|
|
|
|
"regex-class-util.lisp"
|
|
|
|
"convert.lisp"
|
|
|
|
"optimize.lisp"
|
|
|
|
"closures.lisp"
|
|
|
|
"repetition-closures.lisp"
|
|
|
|
"scanner.lisp"
|
|
|
|
"api.lisp"
|
|
|
|
];
|
2024-03-23 15:20:25 +01:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
unicode = depot.nix.buildLisp.library {
|
|
|
|
name = "cl-ppcre-unicode";
|
|
|
|
deps = with depot.third_party.lisp; [ cl-ppcre cl-unicode ];
|
|
|
|
|
|
|
|
srcs = map (f: src + ("/cl-ppcre-unicode/" + f)) [
|
|
|
|
"packages.lisp"
|
|
|
|
"resolver.lisp"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2020-01-10 01:27:25 +01:00
|
|
|
}
|