about summary refs log tree commit diff
path: root/third_party/lisp/s-xml/default.nix
blob: 3cd13ffb6b67d1a84461f0476e9cdd156162f7da (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
# XML serialiser for Common Lisp.
{ depot, pkgs, ... }:

let src = pkgs.applyPatches {
  name = "s-xml-source";
  src = pkgs.lispPackages.s-xml.src;

  patches = [
    ./0001-fix-definition-order-in-xml.lisp.patch
  ];
};
in depot.nix.buildLisp.library {
  name = "s-xml";

  srcs = map (f: src + ("/src/" + f)) [
    "package.lisp"
    "xml.lisp"
    "dom.lisp"
    "lxml-dom.lisp"
    "sxml-dom.lisp"
    "xml-struct-dom.lisp"
  ];
}