about summary refs log tree commit diff
path: root/third_party/lisp/drakma.nix
blob: 607f438d7e7244ef8e17176e83d474dfdf7bda40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Drakma is an HTTP client for Common Lisp.
{ depot, pkgs, ... }:

let src = with pkgs; srcOnly lispPackages.drakma;
in depot.nix.buildLisp.library {
  name = "drakma";
  deps = with depot.third_party.lisp; [
    chipz
    chunga
    cl-base64
    cl-plus-ssl
    cl-ppcre
    flexi-streams
    puri
    usocket
    (depot.nix.buildLisp.bundled "asdf")
  ];

  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"
  ];

  brokenOn = [
    "ecl" # dynamic cffi
  ];
}