about summary refs log tree commit diff
path: root/third_party/lisp/alexandria.nix
blob: dbe0554d62867c782054696dd5b3d78b7b23a2fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Alexandria is one of the foundational Common Lisp libraries that
# pretty much everything depends on:
#
# https://common-lisp.net/project/alexandria/
{ pkgs, ... }:

let src = builtins.fetchGit {
  url = "https://gitlab.common-lisp.net/alexandria/alexandria";
  rev = "1224346a48770dc07a68ef3e612b9ac3d611eb07";
};
in pkgs.nix.buildLisp.library {
  name = "alexandria";
  srcs = map (f: src + ("/" + 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"
  ];
}