tvl-depot/third_party/lisp/s-xml/default.nix

26 lines
450 B
Nix
Raw Normal View History

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