nixpkgs/pkgs/development/lisp-modules/quicklisp-to-nix-output/clsql.nix

22 lines
569 B
Nix

args @ { fetchurl, ... }:
rec {
baseName = ''clsql'';
version = ''20160208-git'';
description = ''Common Lisp SQL Interface library'';
deps = [ args."uffi" ];
src = fetchurl {
url = ''http://beta.quicklisp.org/archive/clsql/2016-02-08/clsql-20160208-git.tgz'';
sha256 = ''0hc97rlfpanp6c1ziis47mrq2fgxbk0h51bhczn8k9xin2qbhhgn'';
};
overrides = x: {
postInstall = ''
echo "$CL_SOURCE_REGISTRY"
NIX_LISP_PRELAUNCH_HOOK='nix_lisp_run_single_form "(asdf:load-system :clsql)"' "$out/bin/clsql-lisp-launcher.sh" ""
'';
};
}