2020-01-21 03:06:11 +01:00
|
|
|
# Common Lisp library for decompressing deflate, zlib, gzip, and bzip2 data
|
2020-02-21 13:47:29 +01:00
|
|
|
{ depot, ... }:
|
2020-01-21 03:06:11 +01:00
|
|
|
|
2020-02-21 13:47:29 +01:00
|
|
|
with depot.nix;
|
2020-01-27 00:59:07 +01:00
|
|
|
|
2020-02-21 13:47:29 +01:00
|
|
|
let src = depot.third_party.fetchFromGitHub {
|
2020-01-21 03:06:11 +01:00
|
|
|
owner = "froydnj";
|
|
|
|
repo = "chipz";
|
|
|
|
rev = "75dfbc660a5a28161c57f115adf74c8a926bfc4d";
|
|
|
|
sha256 = "0plx4rs39zbs4gjk77h4a2q11zpy75fh9v8hnxrvsf8fnakajhwg";
|
|
|
|
};
|
2020-01-27 00:59:07 +01:00
|
|
|
in buildLisp.library {
|
2020-01-21 03:06:11 +01:00
|
|
|
name = "chipz";
|
2020-01-27 00:59:07 +01:00
|
|
|
deps = [ (buildLisp.bundled "asdf") ];
|
2020-01-21 03:06:11 +01:00
|
|
|
|
|
|
|
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"
|
|
|
|
];
|
|
|
|
}
|