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>
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			436 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			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"
 | 
						|
  ];
 | 
						|
}
 |