diff options
Diffstat (limited to 'third_party/lisp/bordeaux-threads.nix')
-rw-r--r-- | third_party/lisp/bordeaux-threads.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/lisp/bordeaux-threads.nix b/third_party/lisp/bordeaux-threads.nix new file mode 100644 index 000000000000..b2596672bad2 --- /dev/null +++ b/third_party/lisp/bordeaux-threads.nix @@ -0,0 +1,19 @@ +# This library is meant to make writing portable multi-threaded apps +# in Common Lisp simple. +{ depot, ... }: + +let src = builtins.fetchGit { + url = "https://github.com/sionescu/bordeaux-threads.git"; + rev = "499b6d3f0ce635417d6096acf0a671d8bf3f6e5f"; +}; +in depot.nix.buildLisp.library { + name = "bordeaux-threads"; + deps = [ depot.third_party.lisp.alexandria ]; + + srcs = map (f: src + ("/src/" + f)) [ + "pkgdcl.lisp" + "bordeaux-threads.lisp" + "impl-sbcl.lisp" + "default-implementations.lisp" + ]; +} |