about summary refs log tree commit diff
path: root/third_party/lisp/chipz.nix
blob: 5a8c39dc0568c9d031c023f36dd8f1a7fd83a120 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"
  ];
}