2009-12-09 15:07:09 +01:00
|
|
|
{ stdenv, fetchurl, gmp, readline, openssl, libjpeg, unixODBC, zlib, libXinerama, libXft, libXpm, libSM, libXt }:
|
2008-03-06 22:53:54 +01:00
|
|
|
|
2010-12-04 12:16:39 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "5.10.2";
|
|
|
|
name = "swi-prolog-${version}";
|
2008-03-06 22:53:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-12-04 12:16:39 +01:00
|
|
|
url = "http://www.swi-prolog.org/download/stable/src/pl-${version}.tar.gz";
|
|
|
|
sha256 = "1a3ebbcd649f429a41b64561d38423692e00524c29227432d0eb5a0e24e2a4c9";
|
2008-03-06 22:53:54 +01:00
|
|
|
};
|
|
|
|
|
2009-12-09 15:07:09 +01: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 22:53:54 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.swi-prolog.org/;
|
2009-11-18 10:39:59 +01:00
|
|
|
description = "A Prolog compiler and interpreter";
|
2008-03-06 22:53:54 +01:00
|
|
|
license = "LGPL";
|
|
|
|
};
|
|
|
|
}
|