2020-01-21 03:06:11 +01:00
|
|
|
# Drakma is an HTTP client for Common Lisp.
|
2021-04-10 02:13:18 +02:00
|
|
|
{ depot, pkgs, ... }:
|
2020-01-21 03:06:11 +01:00
|
|
|
|
2021-12-14 22:32:27 +01:00
|
|
|
let src = with pkgs; srcOnly lispPackages.drakma;
|
2021-04-10 02:13:18 +02:00
|
|
|
in depot.nix.buildLisp.library {
|
2020-01-21 03:06:11 +01:00
|
|
|
name = "drakma";
|
2020-02-21 13:47:29 +01:00
|
|
|
deps = with depot.third_party.lisp; [
|
2020-01-21 03:06:11 +01:00
|
|
|
chipz
|
|
|
|
chunga
|
|
|
|
cl-base64
|
|
|
|
cl-plus-ssl
|
|
|
|
cl-ppcre
|
|
|
|
flexi-streams
|
|
|
|
puri
|
|
|
|
usocket
|
2021-04-10 02:13:18 +02:00
|
|
|
(depot.nix.buildLisp.bundled "asdf")
|
2020-01-21 03:06:11 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
srcs = map (f: src + ("/" + f)) [
|
|
|
|
"drakma.asd" # Required because the system definition is used
|
|
|
|
"packages.lisp"
|
|
|
|
"specials.lisp"
|
|
|
|
"conditions.lisp"
|
|
|
|
"util.lisp"
|
|
|
|
"read.lisp"
|
|
|
|
"cookies.lisp"
|
|
|
|
"encoding.lisp"
|
|
|
|
"request.lisp"
|
|
|
|
];
|
2021-08-09 02:47:07 +02:00
|
|
|
|
|
|
|
brokenOn = [
|
|
|
|
"ecl" # dynamic cffi
|
|
|
|
];
|
2020-01-21 03:06:11 +01:00
|
|
|
}
|