From 6f728f33a674ce668ded32af9a272ff21b182164 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 29 Jan 2020 10:05:57 +0000 Subject: [PATCH] feat(third_party/lisp): Add derivation for unix-opts --- third_party/lisp/unix-opts.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 third_party/lisp/unix-opts.nix diff --git a/third_party/lisp/unix-opts.nix b/third_party/lisp/unix-opts.nix new file mode 100644 index 000000000..138da1c7f --- /dev/null +++ b/third_party/lisp/unix-opts.nix @@ -0,0 +1,17 @@ +# unix-opts is a portable command line argument parser +{ pkgs, ...}: + +let + src = pkgs.third_party.fetchFromGitHub { + owner = "libre-man"; + repo = "unix-opts"; + rev = "b805050b074bd860edd18cfc8776fdec666ec36e"; + sha256 = "0j93dkc9f77wz1zfspm7q1scx6wwbm6jhk8vl2rm6bfd0n8scxla"; + }; +in pkgs.nix.buildLisp.library { + name = "unix-opts"; + + srcs = [ + "${src}/unix-opts.lisp" + ]; +}