about summary refs log tree commit diff
path: root/third_party/lisp/s-xml/default.nix
blob: 486e1c1ac8d31edb73f38ccedabd60853fbe1231 (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
# 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"
  ];
}