diff options
author | Martin Bravenboer <martin.bravenboer@logicblox.com> | 2004-08-23 10:44:21 +0000 |
---|---|---|
committer | Martin Bravenboer <martin.bravenboer@logicblox.com> | 2004-08-23 10:44:21 +0000 |
commit | a7f9ee22b51a743fc91abf9e20b374b6439cdb78 (patch) | |
tree | c13c53321d2b3d8b79b6cc85f34011857e045b7d | |
parent | c0ca2228c8dc6ba58676ce026024c43edc5a2a5a (diff) |
Lisp isn't a language, it's a building material (Alan Kay).
svn path=/nixpkgs/trunk/; revision=1314
-rw-r--r-- | pkgs/development/interpreters/clisp/builder.sh | 12 | ||||
-rw-r--r-- | pkgs/development/interpreters/clisp/default.nix | 13 | ||||
-rw-r--r-- | pkgs/system/all-packages-generic.nix | 4 |
3 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/clisp/builder.sh b/pkgs/development/interpreters/clisp/builder.sh new file mode 100644 index 000000000000..5ba9dc5f95bb --- /dev/null +++ b/pkgs/development/interpreters/clisp/builder.sh @@ -0,0 +1,12 @@ +. $stdenv/setup || exit 1 + +set -e + +tar jxvf $src +cd clisp-* +./configure builddir --prefix=$out +cd builddir +./makemake --with-dynamic-ffi --prefix=$out > Makefile +make config.lisp +make +make install diff --git a/pkgs/development/interpreters/clisp/default.nix b/pkgs/development/interpreters/clisp/default.nix new file mode 100644 index 000000000000..5a76d045dd42 --- /dev/null +++ b/pkgs/development/interpreters/clisp/default.nix @@ -0,0 +1,13 @@ +{stdenv, fetchurl, libsigsegv, gettext}: + +stdenv.mkDerivation { + name = "clisp-2.33.2"; + builder = ./builder.sh; + src = fetchurl { + url = http://belnet.dl.sourceforge.net/sourceforge/clisp/clisp-2.33.2.tar.bz2; + md5 = "ee4ea316db1e843dcb16094bf500012f"; + }; + + inherit libsigsegv gettext; + buildInputs = [libsigsegv gettext]; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index e2cb162da043..69e2a848debf 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -381,6 +381,10 @@ rec { inherit fetchurl stdenv zlib; }; + clisp = (import ../development/interpreters/clisp) { + inherit fetchurl stdenv libsigsegv gettext; + }; + j2re = (import ../development/interpreters/j2re) { inherit fetchurl stdenv; }; |