feat(third_party/lisp): Add derivation for unix-opts
This commit is contained in:
parent
8e8bbbca04
commit
6f728f33a6
1 changed files with 17 additions and 0 deletions
17
third_party/lisp/unix-opts.nix
vendored
Normal file
17
third_party/lisp/unix-opts.nix
vendored
Normal 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"
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue