about summary refs log tree commit diff
path: root/third_party/lisp/bordeaux-threads.nix
blob: 7ced6bf134b64eb1d6529dac6812cb27208818bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This library is meant to make writing portable multi-threaded apps
# in Common Lisp simple.
{ pkgs, ... }:

let src = builtins.fetchGit {
  url = "https://github.com/sionescu/bordeaux-threads.git";
  rev = "499b6d3f0ce635417d6096acf0a671d8bf3f6e5f";
};
in pkgs.nix.buildLisp.library {
  name = "bordeaux-threads";
  deps = [ pkgs.third_party.lisp.alexandria ];

  srcs = map (f: src + ("/src/" + f)) [
    "pkgdcl.lisp"
    "bordeaux-threads.lisp"
    "impl-sbcl.lisp"
    "default-implementations.lisp"
  ];
}