From 6de462f674affc4407b89ffe356c2159efad353c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 21 Jan 2020 02:06:11 +0000 Subject: 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. --- third_party/lisp/chipz.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 third_party/lisp/chipz.nix (limited to 'third_party/lisp/chipz.nix') diff --git a/third_party/lisp/chipz.nix b/third_party/lisp/chipz.nix new file mode 100644 index 0000000000..5a8c39dc05 --- /dev/null +++ b/third_party/lisp/chipz.nix @@ -0,0 +1,31 @@ +# Common Lisp library for decompressing deflate, zlib, gzip, and bzip2 data +{ pkgs, ... }: + +let src = pkgs.third_party.fetchFromGitHub { + owner = "froydnj"; + repo = "chipz"; + rev = "75dfbc660a5a28161c57f115adf74c8a926bfc4d"; + sha256 = "0plx4rs39zbs4gjk77h4a2q11zpy75fh9v8hnxrvsf8fnakajhwg"; +}; +in pkgs.nix.buildLisp.library { + name = "chipz"; + deps = with pkgs.third_party.lisp; [ asdf ]; + + srcs = map (f: src + ("/" + f)) [ + "chipz.asd" + "package.lisp" + "constants.lisp" + "conditions.lisp" + "dstate.lisp" + "types-and-tables.lisp" + "crc32.lisp" + "adler32.lisp" + "inflate-state.lisp" + "gzip.lisp" + "zlib.lisp" + "inflate.lisp" + "bzip2.lisp" + "decompress.lisp" + "stream.lisp" + ]; +} -- cgit 1.4.1