tvl-depot/third_party/lisp/s-xml/default.nix
Vincent Ambo db742c2035 chore(3p/lisp): use nixpkgs sources for s-xml
this one was a little more difficult because it needs a patch, there's
something wonky with the definition order

fwiw, the upstream cvs repository ... server errors.

Change-Id: I2d99359edec36b578389f1be1fcf077743c29c4e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4342
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2021-12-15 22:09:42 +00:00

23 lines
436 B
Nix

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