2014-01-13 17:10:11 +01:00
|
|
|
{ stdenv, fetchurl, gmp, readline, openssl, libjpeg, unixODBC, zlib
|
|
|
|
, libXinerama, libXft, libXpm, libSM, libXt, freetype, pkgconfig
|
|
|
|
, fontconfig
|
|
|
|
}:
|
2008-03-06 22:53:54 +01:00
|
|
|
|
2011-09-19 18:38:16 +02:00
|
|
|
let
|
2014-10-27 06:01:55 +01:00
|
|
|
version = "6.6.6";
|
2011-09-19 18:38:16 +02:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2010-12-04 12:16:39 +01:00
|
|
|
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";
|
2014-10-27 06:01:55 +01:00
|
|
|
sha256 = "0vcrfskm2hyhv30lxr6v261myb815jc3bgmcn1lgsc9g9qkvp04z";
|
2008-03-06 22:53:54 +01:00
|
|
|
};
|
|
|
|
|
2014-01-13 17:10:11 +01:00
|
|
|
buildInputs = [ gmp readline openssl libjpeg unixODBC libXinerama
|
|
|
|
libXft libXpm libSM libXt zlib freetype pkgconfig fontconfig ];
|
|
|
|
|
2009-12-09 15:07:09 +01:00
|
|
|
configureFlags = "--with-world --enable-gmp --enable-shared";
|
2014-01-13 17:10:11 +01:00
|
|
|
|
|
|
|
buildFlags = "world";
|
2009-12-09 15:07:09 +01:00
|
|
|
|
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";
|
2011-09-19 18:38:16 +02:00
|
|
|
|
2014-01-13 17:10:11 +01:00
|
|
|
hydraPlatforms = stdenv.lib.platforms.linux;
|
2011-09-19 18:38:16 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2008-03-06 22:53:54 +01:00
|
|
|
};
|
|
|
|
}
|