about summary refs log tree commit diff
path: root/third_party/lisp/nibbles.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lisp/nibbles.nix')
-rw-r--r--third_party/lisp/nibbles.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/third_party/lisp/nibbles.nix b/third_party/lisp/nibbles.nix
new file mode 100644
index 000000000000..593bc4b385c7
--- /dev/null
+++ b/third_party/lisp/nibbles.nix
@@ -0,0 +1,27 @@
+{ depot, pkgs, ... }:
+
+let
+  inherit (depot.nix.buildLisp) bundled;
+  src = pkgs.fetchFromGitHub {
+    owner = "froydnj";
+    repo = "nibbles";
+    rev = "9de8c755c2ff24117748a3271e8582bb8d4a6b6c";
+    sha256 = "11rznn33m950mp4zgnpyjaliy3z3rvibfdr8y4vnk2aq42kqi7dj";
+  };
+
+in depot.nix.buildLisp.library {
+  name = "nibbles";
+
+  deps = with depot.third_party.lisp; [
+    (bundled "asdf")
+  ];
+
+  srcs = map (f: src + ("/" + f)) [
+    "package.lisp"
+    "types.lisp"
+    "macro-utils.lisp"
+    "types.lisp"
+    "vectors.lisp"
+    "streams.lisp"
+  ];
+}