diff options
author | Vincent Ambo <Vincent Ambo> | 2020-01-09T01·08+0000 |
---|---|---|
committer | Vincent Ambo <Vincent Ambo> | 2020-01-09T01·10+0000 |
commit | 67170024d2b25d6eb3a5b3c6c3abe42aebf535da (patch) | |
tree | ab1e05fb295d68e2b724b88baf31ab856d03934a /third_party/lisp/trivial-garbage.nix | |
parent | 7edbcf9c04b121913198a436d2b1843107557c3c (diff) |
feat(third_party/lisp): Add derivation for trivial-garbage r/359
Diffstat (limited to 'third_party/lisp/trivial-garbage.nix')
-rw-r--r-- | third_party/lisp/trivial-garbage.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/lisp/trivial-garbage.nix b/third_party/lisp/trivial-garbage.nix new file mode 100644 index 000000000000..8b2b6f0d3107 --- /dev/null +++ b/third_party/lisp/trivial-garbage.nix @@ -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") ]; +} |