blob: f2dab565c2c16ef0e8ef7a761e2b329e4f69acc9 (
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
|
# A library to easily read and write complex binary formats.
{ depot, ... }:
let src = depot.third_party.fetchFromGitHub {
owner = "j3pic";
repo = "lisp-binary";
rev = "1aefc8618b7734f68697ddf59bc93cb8522aa0bf";
sha256 = "1hflzn3mjp32jz9fxx9wayp3c3x58s77cgjfbs06nrynqkv0c6df";
};
in depot.nix.buildLisp.library {
name = "lisp-binary";
deps = with depot.third_party.lisp; [
cffi
quasiquote_2
moptilities
flexi-streams
closer-mop
];
srcs = map (f: src + ("/" + f)) [
"utils.lisp"
"integer.lisp"
"float.lisp"
"simple-bit-stream.lisp"
"reverse-stream.lisp"
"binary-1.lisp"
"binary-2.lisp"
];
}
|