about summary refs log tree commit diff
path: root/third_party/lisp/trivial-features.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lisp/trivial-features.nix')
-rw-r--r--third_party/lisp/trivial-features.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/lisp/trivial-features.nix b/third_party/lisp/trivial-features.nix
new file mode 100644
index 000000000000..13a63bab1aba
--- /dev/null
+++ b/third_party/lisp/trivial-features.nix
@@ -0,0 +1,16 @@
+{ depot, ... }:
+
+let src = builtins.fetchGit {
+  url = "https://github.com/trivial-features/trivial-features.git";
+  rev = "f6e8dd7268ae0137dbde4be469101a7f735f6416"; # 2021-02-28
+};
+in depot.nix.buildLisp.library {
+  name = "trivial-features";
+  srcs = [
+    {
+      sbcl = src + "/src/tf-sbcl.lisp";
+      ecl = src + "/src/tf-ecl.lisp";
+      ccl = src + "/src/tf-openmcl.lisp";
+    }
+  ];
+}