about summary refs log blame commit diff
path: root/third_party/lisp/cl-fad.nix
blob: 9350abe2e3a399d690567750a31c521050c0aff9 (plain) (tree)
1
2
3
4
5
6
7
8
9
                           
                     
 
               
 
                                                 
                      

                  
                                       

                    


                                          



                                   
        
                                    
                                 




                          
# Portable pathname library
{ depot, pkgs, ... }:

with depot.nix;

let src = with pkgs; srcOnly lispPackages.cl-fad;
in buildLisp.library {
  name = "cl-fad";

  deps = with depot.third_party.lisp; [
    alexandria
    bordeaux-threads
    {
      sbcl = buildLisp.bundled "sb-posix";
    }
  ];

  srcs = map (f: src + ("/" + f)) [
    "packages.lisp"
  ] ++ [
    { ccl = "${src}/openmcl.lisp"; }
  ] ++ map (f: src + ("/" + f)) [
    "fad.lisp"
    "path.lisp"
    "temporary-files.lisp"
  ];
}