2017-03-31 12:06:05 +02:00
|
|
|
args @ { fetchurl, ... }:
|
|
|
|
rec {
|
|
|
|
baseName = ''command-line-arguments'';
|
|
|
|
version = ''20151218-git'';
|
|
|
|
|
|
|
|
description = ''small library to deal with command-line arguments'';
|
|
|
|
|
|
|
|
deps = [ ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = ''http://beta.quicklisp.org/archive/command-line-arguments/2015-12-18/command-line-arguments-20151218-git.tgz'';
|
|
|
|
sha256 = ''07yv3vj9kjd84q09d6kvgryqxb71bsa7jl22fd1an6inmk0a3yyh'';
|
|
|
|
};
|
2017-06-21 22:15:07 +02:00
|
|
|
|
|
|
|
packageName = "command-line-arguments";
|
2017-03-31 12:06:05 +02:00
|
|
|
|
|
|
|
overrides = x: {
|
2017-04-01 08:08:02 +02:00
|
|
|
postInstall = ''
|
|
|
|
find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/command-line-arguments[.]asd${"$"}' |
|
|
|
|
while read f; do
|
2017-04-06 18:43:42 +02:00
|
|
|
env -i \
|
|
|
|
NIX_LISP="$NIX_LISP" \
|
|
|
|
NIX_LISP_PRELAUNCH_HOOK="nix_lisp_run_single_form '(progn
|
|
|
|
(asdf:load-system :$(basename "$f" .asd))
|
|
|
|
(asdf:perform (quote asdf:compile-bundle-op) :$(basename "$f" .asd))
|
|
|
|
(ignore-errors (asdf:perform (quote asdf:deliver-asd-op) :$(basename "$f" .asd)))
|
|
|
|
)'" \
|
2017-04-01 08:08:02 +02:00
|
|
|
"$out"/bin/*-lisp-launcher.sh ||
|
|
|
|
mv "$f"{,.sibling}; done || true
|
|
|
|
'';
|
2017-03-31 12:06:05 +02:00
|
|
|
};
|
|
|
|
}
|
2017-04-01 08:08:02 +02:00
|
|
|
/* (SYSTEM command-line-arguments DESCRIPTION small library to deal with command-line arguments SHA256 07yv3vj9kjd84q09d6kvgryqxb71bsa7jl22fd1an6inmk0a3yyh URL
|
|
|
|
http://beta.quicklisp.org/archive/command-line-arguments/2015-12-18/command-line-arguments-20151218-git.tgz MD5 8cdb99db40143e34cf6b0b25ca95f826 NAME
|
|
|
|
command-line-arguments TESTNAME NIL FILENAME command-line-arguments DEPS NIL DEPENDENCIES NIL VERSION 20151218-git SIBLINGS NIL) */
|