feat(third_party/lisp): Add derivation for unix-opts

This commit is contained in:
Vincent Ambo 2020-01-29 10:05:57 +00:00
parent 8e8bbbca04
commit 6f728f33a6

17
third_party/lisp/unix-opts.nix vendored Normal file
View file

@ -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"
];
}