feat(third_party/lisp): Add derivation for bordeaux-threads
This commit is contained in:
parent
f8519aefef
commit
7edbcf9c04
1 changed files with 20 additions and 0 deletions
20
third_party/lisp/bordeaux-threads.nix
vendored
Normal file
20
third_party/lisp/bordeaux-threads.nix
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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"
|
||||
"condition-variables.lisp"
|
||||
"default-implementations.lisp"
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue