about summary refs log tree commit diff
path: root/third_party/lisp/iterate.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-01-22T21·40+0000
committerVincent Ambo <tazjin@google.com>2020-01-22T21·40+0000
commitd6e473068e2241628371e9a29742d81f41ac1788 (patch)
tree6c5d7dad01087867741660a524ba9bc53f62578a /third_party/lisp/iterate.nix
parentce989529baedb471e17757f2789681580d02f65c (diff)
feat(third_party/lisp): Add 'iterate' and 'quasiquote-2.0' packages r/451
Diffstat (limited to 'third_party/lisp/iterate.nix')
-rw-r--r--third_party/lisp/iterate.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/lisp/iterate.nix b/third_party/lisp/iterate.nix
new file mode 100644
index 000000000000..b9309c36b4ba
--- /dev/null
+++ b/third_party/lisp/iterate.nix
@@ -0,0 +1,15 @@
+# iterate is an iteration construct for Common Lisp, similar to the
+# LOOP macro.
+{ pkgs, ... }:
+
+let src = builtins.fetchGit {
+  url = "https://gitlab.common-lisp.net/iterate/iterate.git";
+  rev = "a1c47b2b74f6c96149d717be90c07a1b273ced69";
+};
+in pkgs.nix.buildLisp.library {
+  name = "iterate";
+  srcs = [
+    "${src}/package.lisp"
+    "${src}/iterate.lisp"
+  ];
+}