2020-01-22 01:23:09 +01:00
|
|
|
# Portable pathname library
|
2021-04-10 02:13:18 +02:00
|
|
|
{ depot, pkgs, ...}:
|
2020-01-22 01:23:09 +01:00
|
|
|
|
2020-02-21 13:47:29 +01:00
|
|
|
with depot.nix;
|
2020-01-27 00:59:07 +01:00
|
|
|
|
2021-04-10 02:13:18 +02:00
|
|
|
let src = pkgs.fetchFromGitHub {
|
2020-01-22 01:23:09 +01:00
|
|
|
owner = "edicl";
|
|
|
|
repo = "cl-fad";
|
2021-08-14 01:01:24 +02:00
|
|
|
rev = "13cbffe08fc660041359302f4057f8fc20d09402"; # 2021-01-10
|
|
|
|
sha256 = "049laj8an6g9bh0m0cn0bxhq313p8qq1h37cil15l66147ad8slc";
|
2020-01-22 01:23:09 +01:00
|
|
|
};
|
2020-01-27 00:59:07 +01:00
|
|
|
in buildLisp.library {
|
2020-01-22 01:23:09 +01:00
|
|
|
name = "cl-fad";
|
|
|
|
|
2020-02-21 13:47:29 +01:00
|
|
|
deps = with depot.third_party.lisp; [
|
2020-01-22 01:23:09 +01:00
|
|
|
alexandria
|
|
|
|
bordeaux-threads
|
2021-08-09 02:47:07 +02:00
|
|
|
{
|
|
|
|
sbcl = buildLisp.bundled "sb-posix";
|
|
|
|
}
|
2020-01-22 01:23:09 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
srcs = map (f: src + ("/" + f)) [
|
|
|
|
"packages.lisp"
|
2021-08-13 22:24:50 +02:00
|
|
|
] ++ [
|
|
|
|
{ ccl = "${src}/openmcl.lisp"; }
|
|
|
|
] ++ map (f: src + ("/" + f)) [
|
2020-01-22 01:23:09 +01:00
|
|
|
"fad.lisp"
|
|
|
|
"path.lisp"
|
|
|
|
"temporary-files.lisp"
|
|
|
|
];
|
|
|
|
}
|