2009-12-09 14:07:09 +00:00
|
|
|
{ stdenv, fetchurl, gmp, readline, openssl, libjpeg, unixODBC, zlib, libXinerama, libXft, libXpm, libSM, libXt }:
|
2008-03-06 21:53:54 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-12-09 14:07:09 +00:00
|
|
|
name = "swi-prolog-5.6.64";
|
2008-03-06 21:53:54 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-12-09 14:07:09 +00:00
|
|
|
url = "http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-5.6.64.tar.gz";
|
|
|
|
sha256 = "b0e70c3c02b7753ed440359746e7729d21c93e42689c1f0f32b148167b1b2c66";
|
2008-03-06 21:53:54 +00:00
|
|
|
};
|
|
|
|
|
2009-12-09 14:07:09 +00:00
|
|
|
buildInputs = [gmp readline openssl libjpeg unixODBC libXinerama libXft libXpm libSM libXt zlib];
|
|
|
|
configureFlags = "--with-world --enable-gmp --enable-shared";
|
|
|
|
makeFlags = "world";
|
|
|
|
|
2008-03-06 21:53:54 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.swi-prolog.org/;
|
2009-11-18 09:39:59 +00:00
|
|
|
description = "A Prolog compiler and interpreter";
|
2008-03-06 21:53:54 +00:00
|
|
|
license = "LGPL";
|
|
|
|
};
|
|
|
|
}
|