2017-03-30 20:54:56 +00:00
|
|
|
args @ { fetchurl, ... }:
|
|
|
|
rec {
|
|
|
|
baseName = ''smart-buffer'';
|
|
|
|
version = ''20160628-git'';
|
|
|
|
|
|
|
|
description = ''Smart octets buffer'';
|
|
|
|
|
2017-04-01 06:08:02 +00:00
|
|
|
deps = [ args."xsubseq" args."uiop" args."flexi-streams" ];
|
2017-03-30 20:54:56 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = ''http://beta.quicklisp.org/archive/smart-buffer/2016-06-28/smart-buffer-20160628-git.tgz'';
|
|
|
|
sha256 = ''1wp50snkc8739n91xlnfnq1dzz3kfp0awgp92m7xbpcw3hbaib1s'';
|
|
|
|
};
|
2017-06-21 20:15:07 +00:00
|
|
|
|
|
|
|
packageName = "smart-buffer";
|
2017-03-30 20:54:56 +00:00
|
|
|
|
|
|
|
overrides = x: {
|
2017-04-01 06:08:02 +00:00
|
|
|
postInstall = ''
|
|
|
|
find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/smart-buffer[.]asd${"$"}' |
|
|
|
|
while read f; do
|
2017-04-06 16:43:42 +00: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 06:08:02 +00:00
|
|
|
"$out"/bin/*-lisp-launcher.sh ||
|
|
|
|
mv "$f"{,.sibling}; done || true
|
|
|
|
'';
|
2017-03-30 20:54:56 +00:00
|
|
|
};
|
|
|
|
}
|
2017-04-01 06:08:02 +00:00
|
|
|
/* (SYSTEM smart-buffer DESCRIPTION Smart octets buffer SHA256 1wp50snkc8739n91xlnfnq1dzz3kfp0awgp92m7xbpcw3hbaib1s URL
|
|
|
|
http://beta.quicklisp.org/archive/smart-buffer/2016-06-28/smart-buffer-20160628-git.tgz MD5 454d8510618da8111c7ca687549b7035 NAME smart-buffer TESTNAME NIL
|
2017-06-21 20:15:07 +00:00
|
|
|
FILENAME smart-buffer DEPS ((NAME xsubseq FILENAME xsubseq) (NAME uiop FILENAME uiop) (NAME flexi-streams FILENAME flexi-streams)) DEPENDENCIES
|
|
|
|
(xsubseq uiop flexi-streams) VERSION 20160628-git SIBLINGS (smart-buffer-test)) */
|