2011-09-19 16:38:16 +00:00
|
|
|
{ stdenv, fetchurl, gmp, readline, openssl, libjpeg, unixODBC, zlib,
|
2011-03-17 22:09:22 +00:00
|
|
|
libXinerama, libXft, libXpm, libSM, libXt, freetype, pkgconfig,
|
|
|
|
fontconfig }:
|
2008-03-06 21:53:54 +00:00
|
|
|
|
2011-09-19 16:38:16 +00:00
|
|
|
let
|
2013-09-11 17:00:31 +00:00
|
|
|
version = "6.4.1";
|
2011-09-19 16:38:16 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2010-12-04 11:16:39 +00:00
|
|
|
name = "swi-prolog-${version}";
|
2008-03-06 21:53:54 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-12-04 11:16:39 +00:00
|
|
|
url = "http://www.swi-prolog.org/download/stable/src/pl-${version}.tar.gz";
|
2013-09-11 17:00:31 +00:00
|
|
|
sha256 = "1szqqwypqfd0qr3sk0qlip1ar22kpqgba6b44klmr1aag0lrahs8";
|
2008-03-06 21:53:54 +00:00
|
|
|
};
|
|
|
|
|
2011-09-19 16:38:16 +00:00
|
|
|
buildInputs = [gmp readline openssl libjpeg unixODBC libXinerama
|
2011-03-17 22:09:22 +00:00
|
|
|
libXft libXpm libSM libXt zlib freetype pkgconfig fontconfig];
|
2009-12-09 14:07:09 +00:00
|
|
|
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";
|
2011-09-19 16:38:16 +00:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2008-03-06 21:53:54 +00:00
|
|
|
};
|
|
|
|
}
|