e9bfa84aaf
nixpkgs includes a lispPackages set which is generated from something. In the meantime, we pretty much never update our Lisp deps. This commit ties our sources to nixpkgs.lispPackages where the desired package is included in nixpkgs (which is actually most of them!) Change-Id: I520a006535980271b2fa4e0ed4e34029475dcbef Reviewed-on: https://cl.tvl.fyi/c/depot/+/4331 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
34 lines
666 B
Nix
34 lines
666 B
Nix
# Drakma is an HTTP client for Common Lisp.
|
|
{ depot, pkgs, ... }:
|
|
|
|
let src = with pkgs; srcOnly lispPackages.drakma;
|
|
in depot.nix.buildLisp.library {
|
|
name = "drakma";
|
|
deps = with depot.third_party.lisp; [
|
|
chipz
|
|
chunga
|
|
cl-base64
|
|
cl-plus-ssl
|
|
cl-ppcre
|
|
flexi-streams
|
|
puri
|
|
usocket
|
|
(depot.nix.buildLisp.bundled "asdf")
|
|
];
|
|
|
|
srcs = map (f: src + ("/" + f)) [
|
|
"drakma.asd" # Required because the system definition is used
|
|
"packages.lisp"
|
|
"specials.lisp"
|
|
"conditions.lisp"
|
|
"util.lisp"
|
|
"read.lisp"
|
|
"cookies.lisp"
|
|
"encoding.lisp"
|
|
"request.lisp"
|
|
];
|
|
|
|
brokenOn = [
|
|
"ecl" # dynamic cffi
|
|
];
|
|
}
|