Add missing dependency alexandria. This update adds a feature to disable the cffi which would be neat for ECL. Change-Id: Iad5a4646317fb26bb2dec7bcf3d883075ab24842 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7564 Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
		
			
				
	
	
		
			33 lines
		
	
	
	
		
			624 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			624 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
# A library to easily read and write complex binary formats.
 | 
						|
{ depot, pkgs, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  src = pkgs.srcOnly pkgs.lispPackages.lisp-binary;
 | 
						|
in
 | 
						|
depot.nix.buildLisp.library {
 | 
						|
  name = "lisp-binary";
 | 
						|
 | 
						|
  deps = with depot.third_party.lisp; [
 | 
						|
    alexandria
 | 
						|
    cffi
 | 
						|
    closer-mop
 | 
						|
    flexi-streams
 | 
						|
    moptilities
 | 
						|
    quasiquote_2
 | 
						|
  ];
 | 
						|
 | 
						|
  srcs = map (f: src + ("/" + f)) [
 | 
						|
    "utils.lisp"
 | 
						|
    "integer.lisp"
 | 
						|
    "float.lisp"
 | 
						|
    "simple-bit-stream.lisp"
 | 
						|
    "reverse-stream.lisp"
 | 
						|
    "binary-1.lisp"
 | 
						|
    "binary-2.lisp"
 | 
						|
    "types.lisp"
 | 
						|
  ];
 | 
						|
 | 
						|
  brokenOn = [
 | 
						|
    "ecl" # TODO(sterni): disable conditionally cffi for ECL
 | 
						|
  ];
 | 
						|
}
 |