This CL can be used to compare the style of nixpkgs-fmt against other formatters (nixpkgs, alejandra). Change-Id: I87c6abff6bcb546b02ead15ad0405f81e01b6d9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4397 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: cynthia <cynthia@tvl.fyi> Reviewed-by: edef <edef@edef.eu> Reviewed-by: eta <tvl@eta.st> Reviewed-by: grfn <grfn@gws.fyi>
		
			
				
	
	
		
			37 lines
		
	
	
	
		
			727 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
	
		
			727 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| # A library to easily read and write complex binary formats.
 | |
| { depot, pkgs, ... }:
 | |
| 
 | |
| let
 | |
|   src = pkgs.fetchFromGitHub {
 | |
|     owner = "j3pic";
 | |
|     repo = "lisp-binary";
 | |
|     rev = "052df578900dea59bf951e0a6749281fa73432e4";
 | |
|     sha256 = "1i1s5g01aimfq6lndcl1pnw7ly5hdh0wmjp2dj9cjjwbkz9lnwcf";
 | |
|   };
 | |
| in
 | |
| depot.nix.buildLisp.library {
 | |
|   name = "lisp-binary";
 | |
| 
 | |
|   deps = with depot.third_party.lisp; [
 | |
|     cffi
 | |
|     quasiquote_2
 | |
|     moptilities
 | |
|     flexi-streams
 | |
|     closer-mop
 | |
|   ];
 | |
| 
 | |
|   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" # dynamic cffi
 | |
|   ];
 | |
| }
 |