2020-01-22 01:23:09 +01:00
|
|
|
# Portable pathname library
|
2020-02-21 13:47:29 +01:00
|
|
|
{ depot, ...}:
|
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
|
|
|
|
2020-02-21 13:47:29 +01:00
|
|
|
let src = depot.third_party.fetchFromGitHub {
|
2020-01-22 01:23:09 +01:00
|
|
|
owner = "edicl";
|
|
|
|
repo = "cl-fad";
|
|
|
|
rev = "c13d81c4bd9ba3a172631fd05dd213ab90e7d4cb";
|
|
|
|
sha256 = "1gc8i82v6gks7g0lnm54r4prk2mklidv2flm5fvbr0a7rsys0vpa";
|
|
|
|
};
|
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
|
2020-01-27 00:59:07 +01:00
|
|
|
(buildLisp.bundled "sb-posix")
|
2020-01-22 01:23:09 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
srcs = map (f: src + ("/" + f)) [
|
|
|
|
"packages.lisp"
|
|
|
|
"fad.lisp"
|
|
|
|
"path.lisp"
|
|
|
|
"temporary-files.lisp"
|
|
|
|
];
|
|
|
|
}
|