2020-01-22 01:49:58 +01:00
|
|
|
# XML serialiser for Common Lisp.
|
2021-12-15 22:51:49 +01:00
|
|
|
{ depot, pkgs, ... }:
|
2020-01-22 01:49:58 +01:00
|
|
|
|
2022-01-30 17:06:58 +01:00
|
|
|
let
|
|
|
|
src = pkgs.applyPatches {
|
|
|
|
name = "s-xml-source";
|
|
|
|
src = pkgs.lispPackages.s-xml.src;
|
2021-12-15 22:51:49 +01:00
|
|
|
|
2022-01-30 17:06:58 +01:00
|
|
|
patches = [
|
|
|
|
./0001-fix-definition-order-in-xml.lisp.patch
|
|
|
|
];
|
|
|
|
};
|
|
|
|
in
|
|
|
|
depot.nix.buildLisp.library {
|
2020-01-22 01:49:58 +01:00
|
|
|
name = "s-xml";
|
|
|
|
|
2021-12-15 22:51:49 +01:00
|
|
|
srcs = map (f: src + ("/src/" + f)) [
|
|
|
|
"package.lisp"
|
|
|
|
"xml.lisp"
|
|
|
|
"dom.lisp"
|
|
|
|
"lxml-dom.lisp"
|
|
|
|
"sxml-dom.lisp"
|
|
|
|
"xml-struct-dom.lisp"
|
2020-01-22 01:49:58 +01:00
|
|
|
];
|
|
|
|
}
|