diff options
Diffstat (limited to 'pkgs/development/lisp-modules/quicklisp-to-nix-output/caveman.nix')
-rw-r--r-- | pkgs/development/lisp-modules/quicklisp-to-nix-output/caveman.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/lisp-modules/quicklisp-to-nix-output/caveman.nix b/pkgs/development/lisp-modules/quicklisp-to-nix-output/caveman.nix new file mode 100644 index 0000000000000..a10ec46937672 --- /dev/null +++ b/pkgs/development/lisp-modules/quicklisp-to-nix-output/caveman.nix @@ -0,0 +1,21 @@ +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" "" + ''; + }; +} |