tvl-depot/third_party/lisp/alexandria.nix
Vincent Ambo 28ac55e94a chore(3p/lisp): Unvendor alexandria and use nixpkgs sources
Change-Id: Idee3cb18ac42bd820d87aac0c68206436c1f4691
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4338
Autosubmit: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2021-12-15 21:02:10 +00:00

28 lines
627 B
Nix

# Alexandria is one of the foundational Common Lisp libraries that
# pretty much everything depends on.
{ depot, pkgs, ... }:
let src = with pkgs; srcOnly lispPackages.alexandria;
in depot.nix.buildLisp.library {
name = "alexandria";
srcs = map (f: src + ("/alexandria-1/" + f)) [
"package.lisp"
"definitions.lisp"
"binding.lisp"
"strings.lisp"
"conditions.lisp"
"symbols.lisp"
"macros.lisp"
"functions.lisp"
"io.lisp"
"hash-tables.lisp"
"control-flow.lisp"
"lists.lisp"
"types.lisp"
"arrays.lisp"
"sequences.lisp"
"numbers.lisp"
"features.lisp"
];
}