about summary refs log tree commit diff
path: root/third_party/lisp/trivial-garbage.nix
blob: e5b3550de7bafde89689e516e3ba3a6bcc6d4aa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# trivial-garbage provides a portable API to finalizers, weak
# hash-tables and weak pointers
{ depot, ... }:

let src = builtins.fetchGit {
  url = "https://github.com/trivial-garbage/trivial-garbage.git";
  rev = "dbc8e35acb0176b9a14fdc1027f5ebea93435a84";
};
in depot.nix.buildLisp.library {
  name = "trivial-garbage";
  srcs = [ (src + "/trivial-garbage.lisp") ];
}