2013-09-11 11:43:04 -07:00
|
|
|
{ stdenv, fetchurl, readline, gmp, zlib }:
|
2013-09-11 10:40:10 -07:00
|
|
|
|
2009-10-28 07:06:56 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2015-01-27 04:35:07 -08:00
|
|
|
version = "6.3.3";
|
2013-09-11 10:40:10 -07:00
|
|
|
name = "yap-${version}";
|
2008-03-12 18:13:53 -07:00
|
|
|
|
2009-10-28 07:06:56 -07:00
|
|
|
src = fetchurl {
|
2013-09-11 10:40:10 -07:00
|
|
|
url = "http://www.dcc.fc.up.pt/~vsc/Yap/${name}.tar.gz";
|
2015-01-27 04:35:07 -08:00
|
|
|
sha256 = "0y7sjwimadqsvgx9daz28c9mxcx9n1znxklih9xg16k6n54v9qxf";
|
2008-03-12 18:13:53 -07:00
|
|
|
};
|
|
|
|
|
2013-09-11 11:43:04 -07:00
|
|
|
buildInputs = [ readline gmp zlib ];
|
2013-09-11 10:40:10 -07:00
|
|
|
|
2013-10-05 11:59:34 -07:00
|
|
|
configureFlags = "--enable-tabling=yes";
|
|
|
|
|
2013-09-11 11:43:04 -07:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.dcc.fc.up.pt/~vsc/Yap/";
|
2015-04-30 08:05:14 -07:00
|
|
|
description = "A ISO-compatible high-performance Prolog compiler";
|
2014-11-05 16:44:33 -08:00
|
|
|
license = stdenv.lib.licenses.artistic2;
|
2013-09-11 11:43:04 -07:00
|
|
|
|
2016-05-16 13:30:20 -07:00
|
|
|
maintainers = [ stdenv.lib.maintainers.peti ];
|
2013-09-11 11:43:04 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-03-04 02:14:58 -08:00
|
|
|
broken = !stdenv.is64bit; # the linux 32 bit build fails.
|
2008-03-12 18:13:53 -07:00
|
|
|
};
|
|
|
|
}
|