2020-01-09 02:05:47 +01:00
|
|
|
# This library is meant to make writing portable multi-threaded apps
|
|
|
|
# in Common Lisp simple.
|
2021-12-14 22:32:27 +01:00
|
|
|
{ depot, pkgs, ... }:
|
2020-01-09 02:05:47 +01:00
|
|
|
|
2021-08-09 02:47:07 +02:00
|
|
|
let
|
2021-12-14 22:32:27 +01:00
|
|
|
src = with pkgs; srcOnly lispPackages.bordeaux-threads;
|
2021-08-09 02:47:07 +02:00
|
|
|
getSrc = f: "${src}/src/${f}";
|
2022-01-30 17:06:58 +01:00
|
|
|
in
|
|
|
|
depot.nix.buildLisp.library {
|
2020-01-09 02:05:47 +01:00
|
|
|
name = "bordeaux-threads";
|
2020-02-21 13:47:29 +01:00
|
|
|
deps = [ depot.third_party.lisp.alexandria ];
|
2020-01-09 02:05:47 +01:00
|
|
|
|
2021-08-09 02:47:07 +02:00
|
|
|
srcs = map getSrc [
|
2020-01-09 02:05:47 +01:00
|
|
|
"pkgdcl.lisp"
|
|
|
|
"bordeaux-threads.lisp"
|
2021-08-09 02:47:07 +02:00
|
|
|
] ++ [
|
|
|
|
{
|
|
|
|
sbcl = getSrc "impl-sbcl.lisp";
|
|
|
|
ecl = getSrc "impl-ecl.lisp";
|
|
|
|
}
|
|
|
|
] ++ map getSrc [
|
2020-01-09 02:05:47 +01:00
|
|
|
"default-implementations.lisp"
|
|
|
|
];
|
|
|
|
}
|