Change-Id: Iffb66f4580517b1dbfee8c79e766552508695e5f Reviewed-on: https://cl.tvl.fyi/c/depot/+/11252 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Autosubmit: aspen <root@gws.fyi>
		
			
				
	
	
		
			39 lines
		
	
	
	
		
			858 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
	
		
			858 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
# cl-ppcre is a Common Lisp regular expression library.
 | 
						|
{ depot, pkgs, ... }:
 | 
						|
 | 
						|
let src = with pkgs; srcOnly lispPackages.cl-ppcre;
 | 
						|
in depot.nix.buildLisp.library {
 | 
						|
  name = "cl-ppcre";
 | 
						|
 | 
						|
  srcs = map (f: src + ("/" + f)) [
 | 
						|
    "packages.lisp"
 | 
						|
    "specials.lisp"
 | 
						|
    "util.lisp"
 | 
						|
    "errors.lisp"
 | 
						|
    "charset.lisp"
 | 
						|
    "charmap.lisp"
 | 
						|
    "chartest.lisp"
 | 
						|
    "lexer.lisp"
 | 
						|
    "parser.lisp"
 | 
						|
    "regex-class.lisp"
 | 
						|
    "regex-class-util.lisp"
 | 
						|
    "convert.lisp"
 | 
						|
    "optimize.lisp"
 | 
						|
    "closures.lisp"
 | 
						|
    "repetition-closures.lisp"
 | 
						|
    "scanner.lisp"
 | 
						|
    "api.lisp"
 | 
						|
  ];
 | 
						|
 | 
						|
  passthru = {
 | 
						|
    unicode = depot.nix.buildLisp.library {
 | 
						|
      name = "cl-ppcre-unicode";
 | 
						|
      deps = with depot.third_party.lisp; [ cl-ppcre cl-unicode ];
 | 
						|
 | 
						|
      srcs = map (f: src + ("/cl-ppcre-unicode/" + f)) [
 | 
						|
        "packages.lisp"
 | 
						|
        "resolver.lisp"
 | 
						|
      ];
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |