tvl-depot/third_party/lisp/chunga.nix
Vincent Ambo 6de462f674 feat(third_party/lisp): Check in drakma HTTP client & deps
This HTTP client has much fewer dependencies than some of the other
ones I've seen, and it'll be good enough for my demo purposes.
2020-01-21 02:07:34 +00:00

27 lines
599 B
Nix

# Portable chunked streams for Common Lisp
{ pkgs, ... }:
let src = pkgs.third_party.fetchFromGitHub {
owner = "edicl";
repo = "chunga";
rev = "16330852d01dfde4dd97dee7cd985a88ea571e7e";
sha256 = "0jzn3nyb3f22gm983rfk99smqs3mhb9ivjmasvhq9qla5cl9pyhd";
};
in pkgs.nix.buildLisp.library {
name = "chunga";
deps = with pkgs.third_party.lisp; [
trivial-gray-streams
];
srcs = map (f: src + ("/" + f)) [
"packages.lisp"
"specials.lisp"
"util.lisp"
"known-words.lisp"
"conditions.lisp"
"read.lisp"
"streams.lisp"
"input.lisp"
"output.lisp"
];
}