2017-03-26 05:15:42 +03:00
|
|
|
{pkgs, buildLispPackage, quicklisp-to-nix-packages}:
|
2017-03-30 23:54:56 +03:00
|
|
|
let
|
|
|
|
addDeps = newdeps: x: {deps = x.deps ++ newdeps;};
|
|
|
|
addNativeLibs = libs: x: { propagatedBuildInputs = libs; };
|
|
|
|
skipBuildPhase = x: {
|
|
|
|
overrides = y: ((x.overrides y) // { buildPhase = "true"; });
|
2017-03-26 05:15:42 +03:00
|
|
|
};
|
2017-03-30 23:54:56 +03:00
|
|
|
qlnp = quicklisp-to-nix-packages;
|
|
|
|
multiOverride = l: x: if l == [] then {} else
|
|
|
|
((builtins.head l) x) // (multiOverride (builtins.tail l) x);
|
|
|
|
in
|
|
|
|
{
|
|
|
|
stumpwm = addDeps (with qlnp; [alexandria cl-ppcre clx]);
|
|
|
|
iterate = skipBuildPhase;
|
2017-03-26 05:15:42 +03:00
|
|
|
cl-fuse = x: {
|
|
|
|
propagatedBuildInputs = [pkgs.fuse];
|
2017-03-30 23:54:56 +03:00
|
|
|
overrides = y : (x.overrides y) // {
|
2017-03-26 05:15:42 +03:00
|
|
|
configurePhase = ''
|
|
|
|
export CL_SOURCE_REGISTRY="$CL_SOURCE_REGISTRY:$PWD"
|
|
|
|
export makeFlags="$makeFlags LISP=common-lisp.sh"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2017-03-30 23:54:56 +03:00
|
|
|
hunchentoot = addNativeLibs [pkgs.openssl];
|
|
|
|
iolib = addNativeLibs [pkgs.libfixposix pkgs.gcc];
|
|
|
|
cl-unicode = addDeps (with qlnp; [cl-ppcre flexi-streams]);
|
|
|
|
clack = addDeps (with qlnp;[lack bordeaux-threads prove]);
|
|
|
|
clack-v1-compat = addDeps (with qlnp;[
|
|
|
|
lack bordeaux-threads prove usocket dexador http-body trivial-backtrace
|
|
|
|
marshal local-time cl-base64 cl-ppcre quri trivial-mimes trivial-types
|
|
|
|
flexi-streams circular-streams ironclad cl-syntax-annot alexandria
|
|
|
|
split-sequence
|
|
|
|
]);
|
|
|
|
cxml = skipBuildPhase;
|
|
|
|
cxml-xml = skipBuildPhase;
|
|
|
|
cxml-dom = skipBuildPhase;
|
|
|
|
cxml-klacks = skipBuildPhase;
|
|
|
|
cxml-test = skipBuildPhase;
|
|
|
|
wookie = multiOverride [(addDeps (with qlnp; [
|
|
|
|
alexandria blackbird cl-async chunga fast-http quri babel cl-ppcre
|
|
|
|
cl-fad fast-io vom do-urlencode
|
|
|
|
]))
|
|
|
|
(addNativeLibs (with pkgs; [libuv openssl]))];
|
|
|
|
woo = addDeps (with qlnp; [
|
|
|
|
cffi lev clack swap-bytes static-vectors fast-http proc-parse quri fast-io
|
|
|
|
trivial-utf-8 vom
|
|
|
|
]);
|
|
|
|
lev = addNativeLibs [pkgs.libev];
|
|
|
|
dexador = addDeps (with qlnp; [
|
|
|
|
usocket fast-http quri fast-io chunga cl-ppcre cl-cookie trivial-mimes
|
|
|
|
chipz cl-base64 cl-reexport qlnp."cl+ssl" alexandria bordeaux-threads
|
|
|
|
]);
|
|
|
|
fast-http = addDeps (with qlnp; [
|
|
|
|
alexandria cl-utilities proc-parse xsubseq smart-buffer
|
|
|
|
]);
|
|
|
|
cl-emb = addDeps (with qlnp; [cl-ppcre]);
|
|
|
|
"cl+ssl" = addNativeLibs [pkgs.openssl];
|
|
|
|
cl-colors = skipBuildPhase;
|
|
|
|
cl-libuv = addNativeLibs [pkgs.libuv];
|
|
|
|
cl-async-base = addDeps (with qlnp; [
|
|
|
|
cffi fast-io vom cl-libuv cl-ppcre trivial-features static-vectors
|
|
|
|
trivial-gray-streams babel
|
|
|
|
]);
|
|
|
|
css-lite = addDeps (with qlnp; [parenscript]);
|
2017-03-26 05:15:42 +03:00
|
|
|
}
|