about summary refs log tree commit diff
path: root/third_party/lisp/unix-opts.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lisp/unix-opts.nix')
-rw-r--r--third_party/lisp/unix-opts.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/lisp/unix-opts.nix b/third_party/lisp/unix-opts.nix
new file mode 100644
index 000000000000..389de25eff4f
--- /dev/null
+++ b/third_party/lisp/unix-opts.nix
@@ -0,0 +1,17 @@
+# unix-opts is a portable command line argument parser
+{ depot, pkgs, ...}:
+
+let
+  src = pkgs.fetchFromGitHub {
+    owner = "libre-man";
+    repo = "unix-opts";
+    rev = "b805050b074bd860edd18cfc8776fdec666ec36e";
+    sha256 = "0j93dkc9f77wz1zfspm7q1scx6wwbm6jhk8vl2rm6bfd0n8scxla";
+  };
+in depot.nix.buildLisp.library {
+  name = "unix-opts";
+
+  srcs = [
+    "${src}/unix-opts.lisp"
+  ];
+}