2017-03-30 22:54:56 +02:00
|
|
|
args @ { fetchurl, ... }:
|
|
|
|
rec {
|
|
|
|
baseName = ''parenscript'';
|
|
|
|
version = ''Parenscript-2.6'';
|
|
|
|
|
|
|
|
description = ''Lisp to JavaScript transpiler'';
|
|
|
|
|
2017-04-01 08:08:02 +02:00
|
|
|
deps = [ args."named-readtables" args."cl-ppcre" args."anaphora" ];
|
2017-03-30 22:54:56 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = ''http://beta.quicklisp.org/archive/parenscript/2016-03-18/Parenscript-2.6.tgz'';
|
|
|
|
sha256 = ''1hvr407fz7gzaxqbnki4k3l44qvl7vk6p5pn7811nrv6lk3kp5li'';
|
|
|
|
};
|
|
|
|
|
|
|
|
overrides = x: {
|
2017-04-01 08:08:02 +02:00
|
|
|
postInstall = ''
|
|
|
|
find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/parenscript[.]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-30 22:54:56 +02:00
|
|
|
};
|
|
|
|
}
|
2017-04-01 08:08:02 +02:00
|
|
|
/* (SYSTEM parenscript DESCRIPTION Lisp to JavaScript transpiler SHA256 1hvr407fz7gzaxqbnki4k3l44qvl7vk6p5pn7811nrv6lk3kp5li URL
|
|
|
|
http://beta.quicklisp.org/archive/parenscript/2016-03-18/Parenscript-2.6.tgz MD5 dadecc13f2918bc618fb143e893deb99 NAME parenscript TESTNAME NIL FILENAME
|
|
|
|
parenscript DEPS ((NAME named-readtables) (NAME cl-ppcre) (NAME anaphora)) DEPENDENCIES (named-readtables cl-ppcre anaphora) VERSION Parenscript-2.6
|
|
|
|
SIBLINGS (parenscript.test)) */
|