tvl-depot/third_party/lisp/cl-ppcre.nix
Aspen Smith d5f57ac6e6 feat(3p/lisp): Add str package and dependencies
Change-Id: Iffb66f4580517b1dbfee8c79e766552508695e5f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11252
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Autosubmit: aspen <root@gws.fyi>
2024-03-31 19:18:12 +00:00

39 lines
858 B
Nix

# cl-ppcre is a Common Lisp regular expression library.
{ depot, pkgs, ... }:
let src = with pkgs; srcOnly lispPackages.cl-ppcre;
in depot.nix.buildLisp.library {
name = "cl-ppcre";
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"
];
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"
];
};
};
}