summary refs log tree commit diff
path: root/pkgs/development/lisp-modules/quicklisp-to-nix-output/caveman.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2017-03-30 22:54:56 +0200
committerMichael Raskin <7c6f434c@mail.ru>2017-03-30 22:55:26 +0200
commit0f695737315e1edf9285a6f7fbca55abb2c160cf (patch)
tree4e34926d88be2c631d8c732d8e713b43e68d604a /pkgs/development/lisp-modules/quicklisp-to-nix-output/caveman.nix
parent5032d477a02f58c2f266e50ad1d6b702e6d28596 (diff)
quicklispPackages: add a basic set of packages, make sure that quicklispPackages_asdf_3_1 can be built completely
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.nix21
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" ""
+    '';
+  };
+}