2017-03-31 11:06:05 +01:00
|
|
|
args @ { fetchurl, ... }:
|
|
|
|
rec {
|
|
|
|
baseName = ''uffi'';
|
2017-08-01 03:34:01 +01:00
|
|
|
version = ''20170630-git'';
|
2017-03-31 11:06:05 +01:00
|
|
|
|
|
|
|
description = ''Universal Foreign Function Library for Common Lisp'';
|
|
|
|
|
|
|
|
deps = [ ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-08-01 03:34:01 +01:00
|
|
|
url = ''http://beta.quicklisp.org/archive/uffi/2017-06-30/uffi-20170630-git.tgz'';
|
|
|
|
sha256 = ''1y8f4pw1sw9d7zgaj1lfi87fjws934qc3gl3fan9py967cl5i7jf'';
|
2017-03-31 11:06:05 +01:00
|
|
|
};
|
2017-06-21 21:15:07 +01:00
|
|
|
|
|
|
|
packageName = "uffi";
|
2017-03-31 11:06:05 +01:00
|
|
|
|
|
|
|
overrides = x: {
|
2017-04-01 07:08:02 +01:00
|
|
|
postInstall = ''
|
|
|
|
find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/uffi[.]asd${"$"}' |
|
|
|
|
while read f; do
|
2017-04-06 17:43:42 +01: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 07:08:02 +01:00
|
|
|
"$out"/bin/*-lisp-launcher.sh ||
|
|
|
|
mv "$f"{,.sibling}; done || true
|
|
|
|
'';
|
2017-03-31 11:06:05 +01:00
|
|
|
};
|
|
|
|
}
|
2017-08-01 03:34:01 +01:00
|
|
|
/* (SYSTEM uffi DESCRIPTION Universal Foreign Function Library for Common Lisp SHA256 1y8f4pw1sw9d7zgaj1lfi87fjws934qc3gl3fan9py967cl5i7jf URL
|
|
|
|
http://beta.quicklisp.org/archive/uffi/2017-06-30/uffi-20170630-git.tgz MD5 8ac448122b79a41ec2b0647f06af7c12 NAME uffi TESTNAME NIL FILENAME uffi DEPS NIL
|
|
|
|
DEPENDENCIES NIL VERSION 20170630-git SIBLINGS (uffi-tests)) */
|