2017-03-30 22:54:56 +02:00
|
|
|
args @ { fetchurl, ... }:
|
|
|
|
rec {
|
|
|
|
baseName = ''myway'';
|
|
|
|
version = ''20150302-git'';
|
|
|
|
|
|
|
|
description = ''Sinatra-compatible routing library.'';
|
|
|
|
|
2017-04-01 08:08:02 +02:00
|
|
|
deps = [ args."quri" args."map-set" args."cl-utilities" args."cl-ppcre" args."alexandria" ];
|
2017-03-30 22:54:56 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = ''http://beta.quicklisp.org/archive/myway/2015-03-02/myway-20150302-git.tgz'';
|
|
|
|
sha256 = ''1spab9zzhwjg3r5xncr5ncha7phw72wp49cxxncgphh1lfaiyblh'';
|
|
|
|
};
|
2017-06-21 22:15:07 +02:00
|
|
|
|
|
|
|
packageName = "myway";
|
2017-03-30 22:54:56 +02:00
|
|
|
|
|
|
|
overrides = x: {
|
2017-04-01 08:08:02 +02:00
|
|
|
postInstall = ''
|
|
|
|
find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/myway[.]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 myway DESCRIPTION Sinatra-compatible routing library. SHA256 1spab9zzhwjg3r5xncr5ncha7phw72wp49cxxncgphh1lfaiyblh URL
|
|
|
|
http://beta.quicklisp.org/archive/myway/2015-03-02/myway-20150302-git.tgz MD5 6a16b41eb3216c469bfc8783cce08b01 NAME myway TESTNAME NIL FILENAME myway DEPS
|
2017-06-21 22:15:07 +02:00
|
|
|
((NAME quri FILENAME quri) (NAME map-set FILENAME map-set) (NAME cl-utilities FILENAME cl-utilities) (NAME cl-ppcre FILENAME cl-ppcre)
|
|
|
|
(NAME alexandria FILENAME alexandria))
|
|
|
|
DEPENDENCIES (quri map-set cl-utilities cl-ppcre alexandria) VERSION 20150302-git SIBLINGS (myway-test)) */
|