diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2009-05-31 06:07:25 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2009-05-31 06:07:25 +0000 |
commit | 526f6f63c7de7a13957d563a2e61a7587019e805 (patch) | |
tree | 428eebb8d815f43e1a4b9f8c73f19d2e50cfbcdb /pkgs/development/libraries/libffcall | |
parent | 32457773474ef660486bf6cd61063932cfdc26f9 (diff) |
Updating CLisp and adding SBCL. SBCL currently has to be symlinked to a writable directory (I am investigating a fix). CLisp 2.47 is somewhat incompatible with lots of software, so I added 2.44.1 as preserved version
svn path=/nixpkgs/trunk/; revision=15806
Diffstat (limited to 'pkgs/development/libraries/libffcall')
-rw-r--r-- | pkgs/development/libraries/libffcall/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libffcall/default.nix b/pkgs/development/libraries/libffcall/default.nix new file mode 100644 index 000000000000..2a3ad8995f55 --- /dev/null +++ b/pkgs/development/libraries/libffcall/default.nix @@ -0,0 +1,38 @@ +a : +let + fetchurl = a.fetchurl; + + version = a.lib.attrByPath ["version"] "2009-05-27" a; + buildInputs = with a; [ + + ]; +in +rec { + src = a.fetchcvs { + cvsRoot = ":pserver:anonymous@cvs.savannah.gnu.org:/sources/libffcall"; + module = "ffcall"; + date = version; + sha256 = "91bcb5a20c85a9ccab45886aae8fdbbcf1f20f995ef898e8bdd2964448daf724"; + }; + + inherit buildInputs; + configureFlags = []; + + /* doConfigure should be removed if not needed */ + phaseNames = ["doConfigure" "doMakeInstall"]; + + doConfigure = a.fullDepEntry ('' + for i in ./configure */configure; do + cwd="$PWD" + cd "$(dirname "$i")"; + ( test -f Makefile && make distclean ) || true + ./configure --prefix=$out + cd "$cwd" + done + '') a.doConfigure.deps; + + name = "libffcall-" + version; + meta = { + description = "Foreign fuction call library"; + }; +} |