feat(third_party/lisp): Add derivation for trivial-garbage

This commit is contained in:
Vincent Ambo 2020-01-09 01:08:36 +00:00
parent 7edbcf9c04
commit 67170024d2

12
third_party/lisp/trivial-garbage.nix vendored Normal file
View file

@ -0,0 +1,12 @@
# trivial-garbage provides a portable API to finalizers, weak
# hash-tables and weak pointers
{ pkgs, ... }:
let src = builtins.fetchGit {
url = "https://github.com/trivial-garbage/trivial-garbage.git";
rev = "dbc8e35acb0176b9a14fdc1027f5ebea93435a84";
};
in pkgs.nix.buildLisp.library {
name = "trivial-garbage";
srcs = [ (src + "/trivial-garbage.lisp") ];
}