This switches upstream from hankhero/cl-json to sharplispers/cl-json (the former of which had its last commit in 2014). Sadly the new upstream hasn't decided on an appropriate fix for b/145 yet (due to concern about backwards compatibility, apparently). I did not look before working on a fix, so I have an 90% finished fix which is (I think) better than the already proposed ones, so I'll patch it in here eventually. Change-Id: I9e39e138fa655794b864db5f268bdfdc35788fcc Reviewed-on: https://cl.tvl.fyi/c/depot/+/5795 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			476 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			476 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
# JSON encoder & decoder
 | 
						|
{ depot, pkgs, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  inherit (depot.nix) buildLisp;
 | 
						|
 | 
						|
  src = pkgs.srcOnly pkgs.quicklispPackages.cl-json;
 | 
						|
in
 | 
						|
buildLisp.library {
 | 
						|
  name = "cl-json";
 | 
						|
  deps = [ (buildLisp.bundled "asdf") ];
 | 
						|
 | 
						|
  srcs = [ "${src}/cl-json.asd" ] ++
 | 
						|
    (map (f: src + ("/src/" + f)) [
 | 
						|
      "package.lisp"
 | 
						|
      "common.lisp"
 | 
						|
      "objects.lisp"
 | 
						|
      "camel-case.lisp"
 | 
						|
      "decoder.lisp"
 | 
						|
      "encoder.lisp"
 | 
						|
      "utils.lisp"
 | 
						|
      "json-rpc.lisp"
 | 
						|
    ]);
 | 
						|
}
 |