about summary refs log tree commit diff
path: root/third_party/lisp/marshal.nix
blob: 711e6e082d615659e6814b868d178ccc8f4e0b12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ depot, pkgs, ... }:

let
  src = pkgs.fetchFromGitHub {
    owner = "wlbr";
    repo = "cl-marshal";
    rev = "eff1b15f2b0af2f26f71ad6a4dd5c4beab9299ec";
    sha256 = "08qs6fhk38xpkkjkpcj92mxx0lgy4ygrbbzrmnivdx281syr0gwh";
  };

in depot.nix.buildLisp.library {
  name = "marshal";
  srcs = map (f: src + ("/" + f)) [
    "package.lisp"
    "serialization-format.lisp"
    "coding-idiom.lisp"
    "marshal.lisp"
    "unmarshal.lisp"
  ];
}