tvl-depot/third_party/lisp/trivial-garbage.nix
2020-02-21 13:54:53 +00:00

12 lines
371 B
Nix

# 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") ];
}