tvl-depot/third_party/lisp/lisp-binary.nix
sterni 968effb5dc feat(3p): upgrade sbcl to 2.1.2
sbcl 2.0.9 introduced a new warning:

> minor incompatible change: the compiler signals a warning at
> compile-time when an initform of T, NIL or 0 does not match
> a STANDARD-CLASS slot's declared type.

This broke a few packages, but they all have been fixed upstream in the
meantime and we only need to bump their versions. The culprits are:

* defclass-std which possibly has become unmaintained since the fix
  (december 2020).

* cl-prevalence which also needs one symbol from bt now

* lisp-binary which also includes a new file now

Change-Id: I06bb47a129d5ef912a623315c1281aedd1ceac2a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2934
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: glittershark <grfn@gws.fyi>
2021-04-12 14:00:59 +00:00

31 lines
669 B
Nix

# A library to easily read and write complex binary formats.
{ depot, pkgs, ... }:
let src = pkgs.fetchFromGitHub {
owner = "j3pic";
repo = "lisp-binary";
rev = "052df578900dea59bf951e0a6749281fa73432e4";
sha256 = "1i1s5g01aimfq6lndcl1pnw7ly5hdh0wmjp2dj9cjjwbkz9lnwcf";
};
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"
"types.lisp"
];
}