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


                                                         
                      
                       
                                       


                    

                        
                                  
    
                                         














                                       
# Common Lisp bindings to OpenSSL
{ depot, ... }:

with depot.nix;

let src = builtins.fetchGit {
  url = "https://github.com/cl-plus-ssl/cl-plus-ssl.git";
  rev = "29081992f6d7b4e3aa2c5eeece4cd92b745071f4";
};
in buildLisp.library {
  name = "cl-plus-ssl";
  deps = with depot.third_party.lisp; [
    alexandria
    bordeaux-threads
    cffi
    flexi-streams
    trivial-features
    trivial-garbage
    trivial-gray-streams
    (buildLisp.bundled "uiop")
    (buildLisp.bundled "sb-posix")
  ];

  native = [ depot.third_party.openssl ];

  srcs = map (f: src + ("/src/" + f)) [
    "package.lisp"
    "reload.lisp"
    "conditions.lisp"
    "ffi.lisp"
    "x509.lisp"
    "ffi-buffer-all.lisp"
    "ffi-buffer.lisp"
    "streams.lisp"
    "bio.lisp"
    "random.lisp"
    "context.lisp"
    "verify-hostname.lisp"
  ];
}