about summary refs log tree commit diff
path: root/third_party/lisp/s-sysdeps.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lisp/s-sysdeps.nix')
-rw-r--r--third_party/lisp/s-sysdeps.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/lisp/s-sysdeps.nix b/third_party/lisp/s-sysdeps.nix
new file mode 100644
index 000000000000..aebd7c3f7b26
--- /dev/null
+++ b/third_party/lisp/s-sysdeps.nix
@@ -0,0 +1,17 @@
+# A Common Lisp abstraction layer over platform dependent functionality.
+{ depot, ... }:
+
+let src = depot.third_party.fetchFromGitHub {
+  owner = "svenvc";
+  repo = "s-sysdeps";
+  rev = "d28246b5dffef9e73a0e0e6cfbc4e878006fe34d";
+  sha256 = "14b69b81yrxmjlvmm3lfxk04x5v7hqz4fql121334wh72czznfh9";
+};
+in depot.nix.buildLisp.library {
+  name = "s-sysdeps";
+
+  srcs = [
+    "${src}/src/package.lisp"
+    "${src}/src/sysdeps.lisp"
+  ];
+}