2020-01-22 01:23:09 +01:00
|
|
|
# Hunchentoot is a web framework for Common Lisp.
|
2020-02-21 13:47:29 +01:00
|
|
|
{ depot, ...}:
|
2020-01-22 01:23:09 +01:00
|
|
|
|
|
|
|
let
|
2020-02-21 13:47:29 +01:00
|
|
|
src = depot.third_party.fetchFromGitHub {
|
2020-01-22 01:23:09 +01:00
|
|
|
owner = "edicl";
|
|
|
|
repo = "hunchentoot";
|
|
|
|
rev = "585b45b6b873f2da421fdf456b61860ab5868207";
|
|
|
|
sha256 = "13nazwix067mdclq9vgjhsi2vpr57a8dz51dd5d3h99ccsq4mik5";
|
|
|
|
};
|
2020-02-21 13:47:29 +01:00
|
|
|
url-rewrite = depot.nix.buildLisp.library {
|
2020-01-22 01:23:09 +01:00
|
|
|
name = "url-rewrite";
|
|
|
|
|
|
|
|
srcs = map (f: src + ("/url-rewrite/" + f)) [
|
|
|
|
"packages.lisp"
|
|
|
|
"specials.lisp"
|
|
|
|
"primitives.lisp"
|
|
|
|
"util.lisp"
|
|
|
|
"url-rewrite.lisp"
|
|
|
|
];
|
|
|
|
};
|
2020-02-21 13:47:29 +01:00
|
|
|
in depot.nix.buildLisp.library {
|
2020-01-22 01:23:09 +01:00
|
|
|
name = "hunchentoot";
|
|
|
|
|
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
|
|
|
|
chunga
|
|
|
|
cl-base64
|
|
|
|
cl-fad
|
|
|
|
rfc2388
|
|
|
|
cl-plus-ssl
|
|
|
|
cl-ppcre
|
|
|
|
flexi-streams
|
|
|
|
md5
|
|
|
|
trivial-backtrace
|
|
|
|
usocket
|
|
|
|
url-rewrite
|
|
|
|
];
|
|
|
|
|
|
|
|
srcs = map (f: src + ("/" + f)) [
|
|
|
|
"hunchentoot.asd"
|
|
|
|
"packages.lisp"
|
|
|
|
"compat.lisp"
|
|
|
|
"specials.lisp"
|
|
|
|
"conditions.lisp"
|
|
|
|
"mime-types.lisp"
|
|
|
|
"util.lisp"
|
|
|
|
"log.lisp"
|
|
|
|
"cookie.lisp"
|
|
|
|
"reply.lisp"
|
|
|
|
"request.lisp"
|
|
|
|
"session.lisp"
|
|
|
|
"misc.lisp"
|
|
|
|
"headers.lisp"
|
|
|
|
"set-timeouts.lisp"
|
|
|
|
"taskmaster.lisp"
|
|
|
|
"acceptor.lisp"
|
|
|
|
"easy-handlers.lisp"
|
|
|
|
];
|
|
|
|
}
|