mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
bc47794ab5
Escape things by default in derivation names (i.e. digit cannot be the first character etc.) Update Quicklisp (tracking upstream); list new missing dependencies Add some minimal README about ql-to-nix
36 lines
1.4 KiB
Nix
36 lines
1.4 KiB
Nix
args @ { fetchurl, ... }:
|
|
rec {
|
|
baseName = ''cl-mysql'';
|
|
version = ''20160628-git'';
|
|
|
|
description = ''Common Lisp MySQL library bindings'';
|
|
|
|
deps = [ args."cffi" ];
|
|
|
|
src = fetchurl {
|
|
url = ''http://beta.quicklisp.org/archive/cl-mysql/2016-06-28/cl-mysql-20160628-git.tgz'';
|
|
sha256 = ''1zkijanw34nc91dn9jv30590ir6jw7bbcwjsqbvli69fh4b03319'';
|
|
};
|
|
|
|
packageName = "cl-mysql";
|
|
|
|
overrides = x: {
|
|
postInstall = ''
|
|
find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/cl-mysql[.]asd${"$"}' |
|
|
while read f; do
|
|
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)))
|
|
)'" \
|
|
"$out"/bin/*-lisp-launcher.sh ||
|
|
mv "$f"{,.sibling}; done || true
|
|
'';
|
|
};
|
|
}
|
|
/* (SYSTEM cl-mysql DESCRIPTION Common Lisp MySQL library bindings SHA256 1zkijanw34nc91dn9jv30590ir6jw7bbcwjsqbvli69fh4b03319 URL
|
|
http://beta.quicklisp.org/archive/cl-mysql/2016-06-28/cl-mysql-20160628-git.tgz MD5 349615d041c2f2177b678088f9c22409 NAME cl-mysql TESTNAME NIL FILENAME
|
|
cl-mysql DEPS ((NAME cffi FILENAME cffi)) DEPENDENCIES (cffi) VERSION 20160628-git SIBLINGS (cl-mysql-test)) */
|