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

21 lines
753 B
Nix

args @ { fetchurl, ... }:
rec {
baseName = ''caveman'';
version = ''20161031-git'';
description = ''Web Application Framework for Common Lisp'';
deps = [ args."anaphora" args."cl-emb" args."cl-ppcre" args."cl-project" args."cl-syntax" args."cl-syntax-annot" args."clack-v1-compat" args."do-urlencode" args."local-time" args."myway" ];
src = fetchurl {
url = ''http://beta.quicklisp.org/archive/caveman/2016-10-31/caveman-20161031-git.tgz'';
sha256 = ''111zxnlsn99sybmwgyxh0x29avq898nxssysvaf8v4mbb6fva2hi'';
};
overrides = x: {
postInstall = ''
echo "$CL_SOURCE_REGISTRY"
NIX_LISP_PRELAUNCH_HOOK='nix_lisp_run_single_form "(asdf:load-system :caveman)"' "$out/bin/caveman-lisp-launcher.sh" ""
'';
};
}