about summary refs log blame commit diff
path: root/third_party/lisp/s-xml/default.nix
blob: 486e1c1ac8d31edb73f38ccedabd60853fbe1231 (plain) (tree)
1
2
3
4
5
6
7
8
                                 
                     
 



                                      
 





                                                   

                 






                                       

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